Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",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.001171/0.001171, allocations: 101.5 kB / 16.4 MB, free: 6.402 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.001215/0.001215, allocations: 193.2 kB / 17.34 MB, free: 5.699 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.193/1.193, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6416/0.6416, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 63.06 kB / 0.5572 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1135, allocations: 76.19 MB / 0.6316 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.003344/0.1169, allocations: 2.604 MB / 0.6341 GB, free: 2.293 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.119, allocations: 1.575 MB / 0.6357 GB, free: 0.707 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.584e-05/0.1191, allocations: 7.938 kB / 0.6357 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005693/0.1196, allocations: 171.3 kB / 0.6358 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002932/0.1199, allocations: 147.4 kB / 0.636 GB, free: 396 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.1203, allocations: 187.5 kB / 0.6362 GB, free: 208 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002375/0.1205, allocations: 223.4 kB / 0.6364 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.1208, allocations: 127.7 kB / 0.6365 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.1209, allocations: 95.61 kB / 0.6366 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.1211, allocations: 99.64 kB / 0.6367 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.1211, allocations: 12 kB / 0.6367 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000265/0.1214, allocations: 211.6 kB / 0.6369 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.987e-05/0.1215, allocations: 63.86 kB / 0.637 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.627e-05/0.1216, allocations: 83.61 kB / 0.637 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003194/0.1219, allocations: 299.9 kB / 0.6373 GB, free: 15.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1219, allocations: 0 / 0.6373 GB, free: 15.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1219, allocations: 0 / 0.6373 GB, free: 15.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1219, allocations: 4 kB / 0.6373 GB, free: 15.01 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005598/0.1225, allocations: 483.1 kB / 0.6378 GB, free: 14.49 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.1225, allocations: 8.031 kB / 0.6378 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.495e-05/0.1226, allocations: 50.73 kB / 0.6378 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006642/0.1232, allocations: 84.64 kB / 0.6379 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.1235, allocations: 241.8 kB / 0.6382 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.1235, allocations: 8.656 kB / 0.6382 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.1235, allocations: 20.36 kB / 0.6382 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004246/0.124, allocations: 291.4 kB / 0.6385 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.124, allocations: 7.984 kB / 0.6385 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.124, allocations: 7.938 kB / 0.6385 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.179e-05/0.124, allocations: 12.23 kB / 0.6385 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003821/0.1244, allocations: 228.4 kB / 0.6387 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.1261, allocations: 1.595 MB / 0.6403 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/0.1265, allocations: 311.3 kB / 0.6406 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.742e-05/0.1265, allocations: 69.67 kB / 0.6406 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.1266, allocations: 4 kB / 0.6406 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.1266, allocations: 38.5 kB / 0.6407 GB, free: 11.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.1266, allocations: 0 / 0.6407 GB, free: 11.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004996/0.1271, allocations: 244.5 kB / 0.6409 GB, free: 11.01 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.1272, allocations: 77.11 kB / 0.641 GB, free: 10.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.1274, allocations: 207.6 kB / 0.6412 GB, free: 10.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.1274, allocations: 29.7 kB / 0.6412 GB, free: 10.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.603e-05/0.1275, allocations: 155.8 kB / 0.6413 GB, free: 10.51 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.1275, allocations: 39.45 kB / 0.6414 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.553e-05/0.1276, allocations: 49.69 kB / 0.6414 GB, free: 10.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.383e-05/0.1277, allocations: 322.8 kB / 0.6417 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.1278, allocations: 80.81 kB / 0.6418 GB, free: 10.01 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.128, allocations: 162.5 kB / 0.642 GB, free: 9.812 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.1283, allocations: 242.8 kB / 0.6422 GB, free: 9.535 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1283, allocations: 3.938 kB / 0.6422 GB, free: 9.531 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004256/0.1287, allocations: 273.1 kB / 0.6425 GB, free: 9.258 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1288, allocations: 11.98 kB / 0.6425 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1288, allocations: 4.125 kB / 0.6425 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1288, allocations: 11.94 kB / 0.6425 GB, free: 9.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.129, allocations: 47.91 kB / 0.6425 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1291, allocations: 8 kB / 0.6425 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.1293, allocations: 24.31 kB / 0.6426 GB, free: 9.152 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.1293, allocations: 12 kB / 0.6426 GB, free: 9.141 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001797/0.1295, allocations: 164.1 kB / 0.6427 GB, free: 8.977 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001663/0.1297, allocations: 163.8 kB / 0.6429 GB, free: 8.773 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002528/0.1299, allocations: 219.8 kB / 0.6431 GB, free: 8.516 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.423e-06/0.1299, allocations: 0 / 0.6431 GB, free: 8.516 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003967/0.1303, allocations: 249.5 kB / 0.6433 GB, free: 8.266 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.1304, allocations: 17.34 kB / 0.6434 GB, free: 8.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1304, allocations: 4 kB / 0.6434 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.937e-06/0.1304, allocations: 4 kB / 0.6434 GB, free: 8.242 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.1306, allocations: 51.84 kB / 0.6434 GB, free: 8.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1306, allocations: 8 kB / 0.6434 GB, free: 8.184 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.1308, allocations: 15.98 kB / 0.6434 GB, free: 8.168 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.1308, allocations: 8 kB / 0.6434 GB, free: 8.16 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.994e-05/0.1309, allocations: 204.1 kB / 0.6436 GB, free: 7.953 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.247e-05/0.131, allocations: 15.81 kB / 0.6437 GB, free: 7.938 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002128/0.1312, allocations: 143 kB / 0.6438 GB, free: 7.785 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1312, allocations: 4 kB / 0.6438 GB, free: 7.781 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1312, allocations: 0 / 0.6438 GB, free: 7.781 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1312, allocations: 0 / 0.6438 GB, free: 7.781 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007997/0.132, allocations: 0.7273 MB / 0.6445 GB, free: 6.969 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.132, allocations: 0 / 0.6445 GB, free: 6.969 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.84e-05/0.1321, allocations: 27.97 kB / 0.6445 GB, free: 6.941 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1321, allocations: 4.344 kB / 0.6445 GB, free: 6.938 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1322, allocations: 8 kB / 0.6445 GB, free: 6.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.1322, allocations: 7.938 kB / 0.6446 GB, free: 6.922 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1322, allocations: 0 / 0.6446 GB, free: 6.922 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.1324, allocations: 386.1 kB / 0.6449 GB, free: 6.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.397e-05/0.1325, allocations: 113 kB / 0.645 GB, free: 6.371 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.1325, allocations: 4 kB / 0.645 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.1327, allocations: 15.98 kB / 0.645 GB, free: 6.352 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.582e-05/0.1328, allocations: 15.88 kB / 0.6451 GB, free: 6.336 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.1328, allocations: 4 kB / 0.6451 GB, free: 6.332 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001447/0.1329, allocations: 160.8 kB / 0.6452 GB, free: 6.176 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1329, allocations: 0 / 0.6452 GB, free: 6.176 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004676/0.1334, allocations: 75.94 kB / 0.6453 GB, free: 6.102 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005204/0.134, allocations: 0.9185 MB / 0.6462 GB, free: 5.129 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000443/0.1344, allocations: 284 kB / 0.6465 GB, free: 4.852 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1344, allocations: 0 / 0.6465 GB, free: 4.852 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.384e-05/0.1345, allocations: 61.16 kB / 0.6465 GB, free: 4.793 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.1349, allocations: 34.38 kB / 0.6465 GB, free: 4.762 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.1372, allocations: 2.357 MB / 0.6489 GB, free: 2.199 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.1375, allocations: 0.7364 MB / 0.6496 GB, free: 1.434 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001952/0.1377, allocations: 77.41 kB / 0.6496 GB, free: 1.355 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.23e-05/0.1377, allocations: 47.41 kB / 0.6497 GB, free: 1.309 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1378, allocations: 0 / 0.6497 GB, free: 1.309 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01799/0.1557, allocations: 3.702 MB / 0.6533 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.009/7.165, allocations: 3.859 kB / 0.6533 GB, free: 13.75 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)