Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.001121/0.001121, allocations: 103.6 kB / 16.4 MB, free: 5.996 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.001176/0.001176, allocations: 192.8 kB / 17.34 MB, free: 5.617 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7076/0.7076, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 61.44 kB / 0.5572 GB, free: 32.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1449, allocations: 76.19 MB / 0.6316 GB, free: 4.883 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02208/0.167, allocations: 20.22 MB / 0.6514 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01063/0.1777, allocations: 6.449 MB / 0.6577 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002006/0.1797, allocations: 87.56 kB / 0.6577 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.005666/0.1855, allocations: 2.235 MB / 0.6599 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003436/0.1889, allocations: 1.189 MB / 0.6611 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003434/0.1924, allocations: 1.283 MB / 0.6623 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006202/0.1986, allocations: 4.85 MB / 0.6671 GB, free: 464 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007439/0.2061, allocations: 5.607 MB / 0.6725 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003446/0.2095, allocations: 2.123 MB / 0.6746 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003744/0.2133, allocations: 2.336 MB / 0.6769 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001213/0.2145, allocations: 432 kB / 0.6773 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002673/0.2172, allocations: 1.003 MB / 0.6783 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002775/0.22, allocations: 1.665 MB / 0.6799 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00386/0.2239, allocations: 1.914 MB / 0.6818 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007415/0.2313, allocations: 6.509 MB / 0.6881 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.552e-05/0.2314, allocations: 7.984 kB / 0.6881 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2314, allocations: 7.938 kB / 0.6882 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001555/0.2316, allocations: 0 / 0.6882 GB, free: 10.74 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.00652/0.2381, allocations: 3.444 MB / 0.6915 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.2382, allocations: 12.03 kB / 0.6915 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005881/0.2387, allocations: 458.5 kB / 0.692 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003069/0.2418, allocations: 0.6371 MB / 0.6926 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004216/0.2461, allocations: 2.045 MB / 0.6946 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.2462, allocations: 222.3 kB / 0.6948 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005271/0.2468, allocations: 300 kB / 0.6951 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007549/0.2543, allocations: 4.886 MB / 0.6999 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.208e-05/0.2544, allocations: 19.84 kB / 0.6999 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002815/0.2547, allocations: 124 kB / 0.7 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003913/0.2551, allocations: 233.7 kB / 0.7002 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005888/0.261, allocations: 3.746 MB / 0.7039 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02238/0.2834, allocations: 21.41 MB / 0.7248 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/0.2851, allocations: 1.297 MB / 0.726 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/0.2865, allocations: 1.062 MB / 0.7271 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.308e-05/0.2866, allocations: 9 kB / 0.7271 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.2867, allocations: 51.56 kB / 0.7271 GB, free: 464 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=107): time 3.066e-06/0.2867, allocations: 0 / 0.7271 GB, free: 464 kB / 0.5606 GB Notification: Performance of matching and sorting (n=138): time 0.02401/0.3107, allocations: 8.656 MB / 0.7356 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.3108, allocations: 76.7 kB / 0.7357 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.3125, allocations: 1.122 MB / 0.7368 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001389/0.3126, allocations: 53.7 kB / 0.7368 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007486/0.3134, allocations: 1.292 MB / 0.7381 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004029/0.3138, allocations: 485 kB / 0.7385 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004863/0.3143, allocations: 291.3 kB / 0.7388 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.3144, allocations: 309.1 kB / 0.7391 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/0.3156, allocations: 0.9096 MB / 0.74 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/0.3171, allocations: 1.322 MB / 0.7413 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002846/0.3199, allocations: 2.43 MB / 0.7437 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.32, allocations: 4 kB / 0.7437 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005758/0.3257, allocations: 3.467 MB / 0.7471 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.3258, allocations: 12 kB / 0.7471 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/0.3258, allocations: 15.98 kB / 0.7471 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003101/0.3289, allocations: 1.187 MB / 0.7482 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009594/0.3299, allocations: 255.6 kB / 0.7485 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2966/0.6265, allocations: 13.82 MB / 0.762 GB, free: 113.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.6279, allocations: 90.97 kB / 0.7621 GB, free: 113.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/0.628, allocations: 62.66 kB / 0.7621 GB, free: 113.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002117/0.6302, allocations: 1.115 MB / 0.7632 GB, free: 112.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005313/0.6307, allocations: 164.4 kB / 0.7634 GB, free: 112.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006351/0.6371, allocations: 3.172 MB / 0.7665 GB, free: 111.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.6371, allocations: 12.94 kB / 0.7665 GB, free: 111.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.67e-05/0.6371, allocations: 13.36 kB / 0.7665 GB, free: 111.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-05/0.6372, allocations: 8.562 kB / 0.7665 GB, free: 111.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/0.6484, allocations: 6.251 MB / 0.7726 GB, free: 109 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/0.6485, allocations: 4.031 kB / 0.7726 GB, free: 109 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006612/0.6491, allocations: 147.7 kB / 0.7728 GB, free: 109 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002811/0.6519, allocations: 1.076 MB / 0.7738 GB, free: 108.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/0.6521, allocations: 30.78 kB / 0.7738 GB, free: 108.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01354/0.6656, allocations: 13.53 MB / 0.787 GB, free: 100.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.6657, allocations: 7.906 kB / 0.7871 GB, free: 100.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004477/0.6702, allocations: 3.154 MB / 0.7901 GB, free: 98.93 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/0.6713, allocations: 424.2 kB / 0.7905 GB, free: 98.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002037/0.6715, allocations: 31.2 kB / 0.7906 GB, free: 98.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007825/0.6723, allocations: 81.38 kB / 0.7906 GB, free: 98.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004256/0.6727, allocations: 128.6 kB / 0.7908 GB, free: 98.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.361e-05/0.6728, allocations: 38.12 kB / 0.7908 GB, free: 98.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001222/0.674, allocations: 0.7648 MB / 0.7915 GB, free: 98.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.81e-07/0.674, allocations: 0 / 0.7915 GB, free: 98.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002026/0.6761, allocations: 0.6595 MB / 0.7922 GB, free: 98.03 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004306/0.6804, allocations: 3.744 MB / 0.7958 GB, free: 95.58 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003907/0.6843, allocations: 3.135 MB / 0.7989 GB, free: 92.66 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.6844, allocations: 0 / 0.7989 GB, free: 92.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002399/0.6868, allocations: 1.955 MB / 0.8008 GB, free: 90.68 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/0.6889, allocations: 0.4975 MB / 0.8013 GB, free: 90.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02429/0.7132, allocations: 19.1 MB / 0.82 GB, free: 70.59 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002057/0.7153, allocations: 2.34 MB / 0.8222 GB, free: 68.21 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009939/0.7163, allocations: 348.8 kB / 0.8226 GB, free: 67.88 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008967/0.7172, allocations: 1.014 MB / 0.8236 GB, free: 66.87 MB / 0.5919 GB Notification: Performance of SimCode: time 1.382e-06/0.7172, allocations: 0 / 0.8236 GB, free: 66.87 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1161/0.8334, allocations: 52.91 MB / 0.8752 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.74, allocations: 3.094 kB / 0.8752 GB, free: 14.61 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)