Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 102.8 kB / 16.4 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 192.7 kB / 17.34 MB, free: 5.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7138/0.7138, allocations: 115.3 MB / 406.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 67.69 kB / 0.5572 GB, free: 32.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1426, allocations: 76.17 MB / 0.6316 GB, free: 5.031 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.0444/0.1871, allocations: 41.16 MB / 0.6718 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02491/0.212, allocations: 15.08 MB / 0.6865 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006591/0.2187, allocations: 191.1 kB / 0.6867 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0124/0.2312, allocations: 4.465 MB / 0.6911 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.009056/0.2403, allocations: 2.79 MB / 0.6938 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.009589/0.2499, allocations: 3.165 MB / 0.6969 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01658/0.2665, allocations: 11.41 MB / 0.708 GB, free: 6.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01916/0.2857, allocations: 12.46 MB / 0.7202 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009245/0.295, allocations: 4.911 MB / 0.725 GB, free: 5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01041/0.3055, allocations: 5.386 MB / 0.7303 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003997/0.3095, allocations: 0.9492 MB / 0.7312 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00684/0.3164, allocations: 2.036 MB / 0.7332 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.006994/0.3234, allocations: 3.684 MB / 0.7368 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01128/0.3347, allocations: 4.303 MB / 0.741 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.383/0.7178, allocations: 14.27 MB / 0.7549 GB, free: 39.65 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.097e-05/0.7179, allocations: 0 / 0.7549 GB, free: 39.65 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7179, allocations: 0.9062 kB / 0.7549 GB, free: 39.65 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0005823/0.7185, allocations: 0.6562 kB / 0.7549 GB, free: 39.65 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.03209/0.7506, allocations: 7.602 MB / 0.7623 GB, free: 37.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/0.7506, allocations: 15.42 kB / 0.7624 GB, free: 37.01 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005671/0.7563, allocations: 0.8929 MB / 0.7632 GB, free: 36.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01409/0.7704, allocations: 1.52 MB / 0.7647 GB, free: 36.55 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01444/0.7849, allocations: 4.439 MB / 0.769 GB, free: 35.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005893/0.7856, allocations: 456.6 kB / 0.7695 GB, free: 35.64 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004627/0.7902, allocations: 0.5997 MB / 0.7701 GB, free: 35.63 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03116/0.8214, allocations: 10.68 MB / 0.7805 GB, free: 34.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003235/0.8218, allocations: 29.73 kB / 0.7805 GB, free: 34.17 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002922/0.8247, allocations: 268.3 kB / 0.7808 GB, free: 34.17 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002887/0.8276, allocations: 0.7712 MB / 0.7815 GB, free: 33.96 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.019/0.8466, allocations: 8.557 MB / 0.7899 GB, free: 31.76 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06053/0.9072, allocations: 46.54 MB / 0.8353 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005933/0.9131, allocations: 4.31 MB / 0.8396 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005451/0.9186, allocations: 3.715 MB / 0.8432 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003226/0.919, allocations: 34.78 kB / 0.8432 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.248e-05/0.9191, allocations: 77.34 kB / 0.8433 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=353): time 5.249e-06/0.9191, allocations: 0 / 0.8433 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=578): time 0.5234/1.442, allocations: 122.8 MB / 0.9632 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/1.443, allocations: 111.9 kB / 0.9633 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005438/1.448, allocations: 2.685 MB / 0.9659 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.001693/1.45, allocations: 117.7 kB / 0.966 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002245/1.452, allocations: 2.691 MB / 0.9687 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.003267/1.455, allocations: 1.948 MB / 0.9706 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004483/1.46, allocations: 0.9248 MB / 0.9715 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.794e-05/1.46, allocations: 304.5 kB / 0.9718 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006838/1.467, allocations: 4.087 MB / 0.9757 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007742/1.475, allocations: 5.01 MB / 0.9806 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01615/1.491, allocations: 9.85 MB / 0.9903 GB, free: 7.344 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.286e-05/1.491, allocations: 8 kB / 0.9903 GB, free: 7.336 MB / 0.7481 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.0439/1.535, allocations: 16.99 MB / 1.007 GB, free: 6.602 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 5.517e-05/1.535, allocations: 17.39 kB / 1.007 GB, free: 6.586 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.322e-05/1.535, allocations: 27.39 kB / 1.007 GB, free: 6.562 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03326/1.568, allocations: 9.083 MB / 1.016 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002758/1.571, allocations: 0.5272 MB / 1.016 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4666/2.038, allocations: 76.97 MB / 1.091 GB, free: 272.1 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005226/2.043, allocations: 279.4 kB / 1.092 GB, free: 272 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008161/2.044, allocations: 184.6 kB / 1.092 GB, free: 271.9 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004077/2.048, allocations: 2.43 MB / 1.094 GB, free: 270.9 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001149/2.049, allocations: 472.5 kB / 1.095 GB, free: 270.9 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0339/2.083, allocations: 16.82 MB / 1.111 GB, free: 261.3 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-05/2.083, allocations: 56 kB / 1.111 GB, free: 261.2 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001854/2.083, allocations: 75.53 kB / 1.111 GB, free: 261.1 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001067/2.083, allocations: 26.02 kB / 1.111 GB, free: 261.1 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05142/2.135, allocations: 25.65 MB / 1.136 GB, free: 236.4 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.091e-05/2.135, allocations: 14.19 kB / 1.136 GB, free: 236.4 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002193/2.137, allocations: 315.5 kB / 1.137 GB, free: 236.1 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02648/2.164, allocations: 8.269 MB / 1.145 GB, free: 227.8 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001181/2.165, allocations: 104 kB / 1.145 GB, free: 227.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08156/2.246, allocations: 73.83 MB / 1.217 GB, free: 152.5 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/2.247, allocations: 11.94 kB / 1.217 GB, free: 152.5 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03838/2.285, allocations: 21.57 MB / 1.238 GB, free: 130.6 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004368/2.289, allocations: 1.356 MB / 1.239 GB, free: 129.2 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001401/2.291, allocations: 109.2 kB / 1.239 GB, free: 129.1 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003894/2.295, allocations: 287.6 kB / 1.24 GB, free: 128.8 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001964/2.297, allocations: 0.5221 MB / 1.24 GB, free: 128.3 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004428/2.297, allocations: 140 kB / 1.24 GB, free: 128.1 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002396/2.299, allocations: 1.776 MB / 1.242 GB, free: 126.4 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/2.299, allocations: 0 / 1.242 GB, free: 126.4 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.009236/2.309, allocations: 2.472 MB / 1.245 GB, free: 123.9 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.037/2.346, allocations: 22.28 MB / 1.266 GB, free: 101.3 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02559/2.371, allocations: 14.54 MB / 1.28 GB, free: 86.56 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.278e-05/2.371, allocations: 0 / 1.28 GB, free: 86.56 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01783/2.389, allocations: 9.349 MB / 1.29 GB, free: 77.07 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009334/2.399, allocations: 1.367 MB / 1.291 GB, free: 75.77 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1384/2.537, allocations: 70.17 MB / 1.359 GB, free: 4 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3311/2.868, allocations: 4.892 MB / 1.364 GB, free: 280.4 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003403/2.872, allocations: 0.7404 MB / 1.365 GB, free: 280.3 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003766/2.875, allocations: 2.609 MB / 1.367 GB, free: 280.3 MB / 0.795 GB Notification: Performance of SimCode: time 9.92e-07/2.875, allocations: 0 / 1.367 GB, free: 280.3 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2901/3.166, allocations: 200.1 MB / 1.563 GB, free: 118.7 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.01/24.18, allocations: 11.62 kB / 1.563 GB, free: 118.7 MB / 0.795 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)