Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",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.001147/0.001147, allocations: 96.27 kB / 15.69 MB, free: 480 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.001684/0.001684, allocations: 177.7 kB / 16.57 MB, free: 6.859 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.375/1.375, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.693/0.693, allocations: 113.7 MB / 405.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.0003208, allocations: 12.62 kB / 493 MB, free: 8.641 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1225, allocations: 77.11 MB / 0.5567 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.002579/0.1251, allocations: 2.428 MB / 0.5591 GB, free: 9.297 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.1269, allocations: 1.485 MB / 0.5606 GB, free: 7.805 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.217e-05/0.127, allocations: 11.94 kB / 0.5606 GB, free: 7.793 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.1271, allocations: 27.77 kB / 0.5606 GB, free: 7.766 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002732/0.1274, allocations: 123.6 kB / 0.5607 GB, free: 7.645 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.1278, allocations: 163.6 kB / 0.5609 GB, free: 7.484 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.128, allocations: 175.6 kB / 0.561 GB, free: 7.312 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005891/0.1286, allocations: 366.9 kB / 0.5614 GB, free: 6.934 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.1287, allocations: 87.69 kB / 0.5615 GB, free: 6.848 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.1289, allocations: 103.6 kB / 0.5616 GB, free: 6.746 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.1289, allocations: 8 kB / 0.5616 GB, free: 6.738 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002033/0.1291, allocations: 139.8 kB / 0.5617 GB, free: 6.602 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.452e-05/0.1292, allocations: 67.8 kB / 0.5618 GB, free: 6.535 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.273e-05/0.1293, allocations: 65.58 kB / 0.5618 GB, free: 6.465 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.1296, allocations: 303.5 kB / 0.5621 GB, free: 6.168 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.1296, allocations: 0 / 0.5621 GB, free: 6.168 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1296, allocations: 0 / 0.5621 GB, free: 6.168 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1296, allocations: 0 / 0.5621 GB, free: 6.168 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006362/0.1302, allocations: 0.5028 MB / 0.5626 GB, free: 5.613 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.1303, allocations: 8.031 kB / 0.5626 GB, free: 5.605 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.869e-05/0.1303, allocations: 58.53 kB / 0.5627 GB, free: 5.539 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006303/0.131, allocations: 103.6 kB / 0.5628 GB, free: 5.438 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.1312, allocations: 254.5 kB / 0.563 GB, free: 5.152 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.1313, allocations: 20.36 kB / 0.563 GB, free: 5.133 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.362e-05/0.1313, allocations: 16 kB / 0.5631 GB, free: 5.117 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005181/0.1318, allocations: 382.2 kB / 0.5634 GB, free: 4.707 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1319, allocations: 3.906 kB / 0.5634 GB, free: 4.703 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.1319, allocations: 12 kB / 0.5634 GB, free: 4.691 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.631e-05/0.1319, allocations: 24.31 kB / 0.5635 GB, free: 4.664 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005358/0.1325, allocations: 336.6 kB / 0.5638 GB, free: 4.336 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.134, allocations: 1.721 MB / 0.5655 GB, free: 2.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006035/0.1347, allocations: 341 kB / 0.5658 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.1348, allocations: 97.08 kB / 0.5659 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.1348, allocations: 38.56 kB / 0.5659 GB, free: 1.969 MB / 430.1 MB Notification: Performance of pre-optimization done (n=20): time 1.292e-06/0.1348, allocations: 0 / 0.5659 GB, free: 1.969 MB / 430.1 MB Notification: Performance of matching and sorting (n=21): time 0.001175/0.136, allocations: 0.6098 MB / 0.5665 GB, free: 1.332 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.1361, allocations: 85.05 kB / 0.5666 GB, free: 1.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.1362, allocations: 200.4 kB / 0.5668 GB, free: 1.027 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.1363, allocations: 37.64 kB / 0.5668 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.545e-05/0.1364, allocations: 151.9 kB / 0.567 GB, free: 0.832 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.971e-05/0.1364, allocations: 78.94 kB / 0.567 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.526e-05/0.1364, allocations: 8 kB / 0.567 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1365, allocations: 326.8 kB / 0.5674 GB, free: 428 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.1368, allocations: 132.5 kB / 0.5675 GB, free: 296 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.137, allocations: 215.5 kB / 0.5677 GB, free: 44 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.1373, allocations: 163.6 kB / 0.5678 GB, free: 15.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1373, allocations: 0 / 0.5678 GB, free: 15.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006955/0.138, allocations: 440 kB / 0.5683 GB, free: 15.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000339/0.1384, allocations: 1.051 MB / 0.5693 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1384, allocations: 0 / 0.5693 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001837/0.1386, allocations: 52.75 kB / 0.5693 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.1389, allocations: 71.88 kB / 0.5694 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.1401, allocations: 1.505 MB / 0.5709 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.1403, allocations: 27.92 kB / 0.5709 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.1403, allocations: 28.03 kB / 0.5709 GB, free: 12.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.771e-06/0.1403, allocations: 4 kB / 0.5709 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006229/0.1409, allocations: 374.2 kB / 0.5713 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.141, allocations: 0 / 0.5713 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001077/0.1411, allocations: 36.83 kB / 0.5713 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.1413, allocations: 71.89 kB / 0.5714 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.1424, allocations: 1.493 MB / 0.5729 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.1426, allocations: 35.81 kB / 0.5729 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.1426, allocations: 12 kB / 0.5729 GB, free: 10.33 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000153/0.1427, allocations: 237 kB / 0.5731 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/0.1428, allocations: 23.72 kB / 0.5731 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006211/0.1434, allocations: 365.7 kB / 0.5735 GB, free: 9.703 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1434, allocations: 4 kB / 0.5735 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.1435, allocations: 0 / 0.5735 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1435, allocations: 0 / 0.5735 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.1448, allocations: 0.9645 MB / 0.5744 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.1448, allocations: 4.219 kB / 0.5744 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.145, allocations: 63.83 kB / 0.5745 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/0.1451, allocations: 37.11 kB / 0.5745 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.1451, allocations: 11.95 kB / 0.5746 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009481/0.1461, allocations: 1.417 MB / 0.5759 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.1461, allocations: 4 kB / 0.5759 GB, free: 6.984 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006569/0.1468, allocations: 0.6246 MB / 0.5765 GB, free: 6.281 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.1469, allocations: 132.7 kB / 0.5767 GB, free: 6.133 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.1469, allocations: 7.984 kB / 0.5767 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.1472, allocations: 23.98 kB / 0.5767 GB, free: 6.102 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/0.1472, allocations: 23.92 kB / 0.5767 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.1472, allocations: 8 kB / 0.5767 GB, free: 6.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.1474, allocations: 159.5 kB / 0.5769 GB, free: 5.914 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1474, allocations: 4 kB / 0.5769 GB, free: 5.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005098/0.1479, allocations: 108 kB / 0.577 GB, free: 5.805 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00103/0.1489, allocations: 1.656 MB / 0.5786 GB, free: 4.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.15, allocations: 0.7362 MB / 0.5793 GB, free: 3.309 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.15, allocations: 0 / 0.5793 GB, free: 3.309 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003548/0.1504, allocations: 274.4 kB / 0.5796 GB, free: 3.027 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.1507, allocations: 34.95 kB / 0.5796 GB, free: 2.996 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2047/0.3554, allocations: 3.303 MB / 0.5829 GB, free: 32.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.3557, allocations: 0.7744 MB / 0.5836 GB, free: 31.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000259/0.3559, allocations: 87.39 kB / 0.5837 GB, free: 31.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.3561, allocations: 69.36 kB / 0.5838 GB, free: 31.57 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3561, allocations: 3.312 kB / 0.5838 GB, free: 31.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7111/1.067, allocations: 5.145 MB / 0.5888 GB, free: 31.35 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001541/1.067, allocations: 207.6 kB / 0.589 GB, free: 31.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.969/3.037, allocations: 0.6875 kB / 0.589 GB, free: 31.11 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1) Environment - environmentSimulation: