Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.0008573/0.0008573, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009073/0.0009072, allocations: 181.9 kB / 16.91 MB, free: 6.914 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.359/1.359, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6815/0.6815, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002986/0.0002986, allocations: 10 kB / 496 MB, free: 6.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1436, allocations: 77.54 MB / 0.5601 GB, free: 8.898 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01394/0.1576, allocations: 13.4 MB / 0.5731 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0131/0.1707, allocations: 9.269 MB / 0.5822 GB, free: 2.148 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.1719, allocations: 47.62 kB / 0.5822 GB, free: 2.102 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009625/0.1729, allocations: 277.8 kB / 0.5825 GB, free: 1.828 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003894/0.1768, allocations: 1.416 MB / 0.5839 GB, free: 420 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3015/0.4783, allocations: 0.6792 MB / 0.5846 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004978/0.4833, allocations: 3.173 MB / 0.5877 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003729/0.4871, allocations: 1.976 MB / 0.5896 GB, free: 13.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002012/0.4891, allocations: 0.8636 MB / 0.5904 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001809/0.4909, allocations: 1.06 MB / 0.5915 GB, free: 12.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.4911, allocations: 75.59 kB / 0.5915 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.4929, allocations: 0.8574 MB / 0.5924 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006013/0.4935, allocations: 0.5119 MB / 0.5929 GB, free: 12.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.4946, allocations: 0.8445 MB / 0.5937 GB, free: 12.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003772/0.4983, allocations: 2.662 MB / 0.5963 GB, free: 12.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4984, allocations: 0.5625 kB / 0.5963 GB, free: 12.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4984, allocations: 0 / 0.5963 GB, free: 12.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.202e-05/0.4984, allocations: 0.5 kB / 0.5963 GB, free: 12.14 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003767/0.5022, allocations: 1.818 MB / 0.5981 GB, free: 11.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.5022, allocations: 13.39 kB / 0.5981 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002763/0.5025, allocations: 193.2 kB / 0.5983 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01217/0.5147, allocations: 2.153 MB / 0.6004 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002854/0.5176, allocations: 1.194 MB / 0.6015 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.392e-05/0.5177, allocations: 89.39 kB / 0.6016 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002918/0.518, allocations: 117.7 kB / 0.6017 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005896/0.5239, allocations: 2.711 MB / 0.6044 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.257e-05/0.5239, allocations: 10.25 kB / 0.6044 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/0.5241, allocations: 53.78 kB / 0.6044 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006288/0.5247, allocations: 180 kB / 0.6046 GB, free: 10.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007415/0.5322, allocations: 2.849 MB / 0.6074 GB, free: 9.336 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01215/0.5443, allocations: 10.56 MB / 0.6177 GB, free: 16.76 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006462/0.5508, allocations: 2.573 MB / 0.6202 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003113/0.554, allocations: 1.304 MB / 0.6215 GB, free: 14.65 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.251e-05/0.554, allocations: 13.5 kB / 0.6215 GB, free: 14.65 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.5541, allocations: 47.69 kB / 0.6216 GB, free: 14.6 MB / 462.1 MB Notification: Performance of pre-optimization done (n=89): time 3.006e-06/0.5541, allocations: 0 / 0.6216 GB, free: 14.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=131): time 0.04517/0.5993, allocations: 13.45 MB / 0.6347 GB, free: 3.465 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.5993, allocations: 64.72 kB / 0.6347 GB, free: 3.391 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/0.6009, allocations: 1.121 MB / 0.6358 GB, free: 2.254 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001416/0.6011, allocations: 49.7 kB / 0.6359 GB, free: 2.199 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004908/0.6016, allocations: 0.7187 MB / 0.6366 GB, free: 1.477 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004569/0.602, allocations: 453.7 kB / 0.637 GB, free: 1.039 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.6022, allocations: 105.7 kB / 0.6371 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.6024, allocations: 365.9 kB / 0.6375 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003372/0.6057, allocations: 1.354 MB / 0.6388 GB, free: 15.21 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003527/0.6093, allocations: 1.626 MB / 0.6404 GB, free: 13.49 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00692/0.6162, allocations: 3.035 MB / 0.6434 GB, free: 10.36 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.6162, allocations: 4 kB / 0.6434 GB, free: 10.36 MB / 478.1 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01133/0.6276, allocations: 4.481 MB / 0.6477 GB, free: 5.82 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.6276, allocations: 11.94 kB / 0.6477 GB, free: 5.809 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.6276, allocations: 5.75 kB / 0.6477 GB, free: 5.805 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005068/0.6327, allocations: 1.439 MB / 0.6492 GB, free: 4.332 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002066/0.6348, allocations: 443.2 kB / 0.6496 GB, free: 3.898 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02416/0.659, allocations: 24.57 MB / 0.6736 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002853/0.6618, allocations: 311.6 kB / 0.6739 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002549/0.6621, allocations: 63.95 kB / 0.6739 GB, free: 9.234 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000998/0.6631, allocations: 442.9 kB / 0.6744 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003696/0.6635, allocations: 162.2 kB / 0.6745 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/0.6753, allocations: 4.496 MB / 0.6789 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.6753, allocations: 12 kB / 0.6789 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.514e-05/0.6753, allocations: 12 kB / 0.6789 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.6754, allocations: 11.97 kB / 0.6789 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01505/0.6904, allocations: 6.833 MB / 0.6856 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.6905, allocations: 4.344 kB / 0.6856 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001834/0.6923, allocations: 387.4 kB / 0.686 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004593/0.6969, allocations: 1.315 MB / 0.6873 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001709/0.6971, allocations: 35.97 kB / 0.6873 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.022/0.7191, allocations: 23.53 MB / 0.7103 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.7191, allocations: 96 / 0.7103 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/0.7299, allocations: 4.248 MB / 0.7144 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009067/0.7308, allocations: 459 kB / 0.7149 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003554/0.7312, allocations: 28 kB / 0.7149 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002286/0.7335, allocations: 315.5 kB / 0.7152 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004016/0.7339, allocations: 128.7 kB / 0.7153 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/0.7341, allocations: 47.97 kB / 0.7154 GB, free: 12.73 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001136/0.7352, allocations: 0.7526 MB / 0.7161 GB, free: 11.97 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7352, allocations: 0 / 0.7161 GB, free: 11.97 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002084/0.7373, allocations: 0.5664 MB / 0.7166 GB, free: 11.41 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01081/0.7481, allocations: 4.848 MB / 0.7214 GB, free: 6.457 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01073/0.7589, allocations: 5.142 MB / 0.7264 GB, free: 1.152 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.7589, allocations: 4 kB / 0.7264 GB, free: 1.148 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006648/0.7655, allocations: 3.511 MB / 0.7298 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003149/0.7687, allocations: 0.498 MB / 0.7303 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0429/0.8116, allocations: 21.07 MB / 0.7509 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001315/0.813, allocations: 1.481 MB / 0.7523 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001722/0.8147, allocations: 429.5 kB / 0.7528 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008729/0.8156, allocations: 0.6281 MB / 0.7534 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/0.8156, allocations: 0 / 0.7534 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07243/0.888, allocations: 49.03 MB / 0.8012 GB, free: 4.352 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/0.8882, allocations: 236.3 kB / 0.8015 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.707/3.595, allocations: 0 / 0.8015 GB, free: 4.094 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)