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.0007176/0.0007176, allocations: 98.42 kB / 16.02 MB, free: 80 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.0007704/0.0007704, allocations: 180.3 kB / 16.92 MB, free: 6.922 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.267/1.267, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6442/0.6442, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002897/0.0002896, allocations: 8 kB / 496 MB, free: 6.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1355, allocations: 77.53 MB / 0.56 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.003059/0.1386, allocations: 2.307 MB / 0.5623 GB, free: 6.633 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.1407, allocations: 1.399 MB / 0.5637 GB, free: 5.227 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.806e-05/0.1408, allocations: 4 kB / 0.5637 GB, free: 5.223 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.141, allocations: 15.86 kB / 0.5637 GB, free: 5.207 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003669/0.1413, allocations: 119.5 kB / 0.5638 GB, free: 5.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004364/0.1418, allocations: 175.6 kB / 0.564 GB, free: 4.918 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003393/0.1421, allocations: 315.2 kB / 0.5643 GB, free: 4.609 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004841/0.1426, allocations: 250.2 kB / 0.5645 GB, free: 4.348 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.1428, allocations: 67.7 kB / 0.5646 GB, free: 4.281 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002429/0.143, allocations: 103.6 kB / 0.5647 GB, free: 4.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.1431, allocations: 8 kB / 0.5647 GB, free: 4.172 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003698/0.1435, allocations: 215.6 kB / 0.5649 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.101e-05/0.1435, allocations: 51.88 kB / 0.5649 GB, free: 3.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.62e-05/0.1436, allocations: 97.3 kB / 0.565 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003882/0.144, allocations: 287 kB / 0.5653 GB, free: 3.527 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1441, allocations: 0 / 0.5653 GB, free: 3.527 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1441, allocations: 4 kB / 0.5653 GB, free: 3.523 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1441, allocations: 4 kB / 0.5653 GB, free: 3.52 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006184/0.1447, allocations: 443.2 kB / 0.5657 GB, free: 3.035 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.1448, allocations: 8.031 kB / 0.5657 GB, free: 3.027 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.792e-05/0.1448, allocations: 58.66 kB / 0.5658 GB, free: 2.961 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005481/0.1454, allocations: 68.58 kB / 0.5659 GB, free: 2.895 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.1456, allocations: 220.1 kB / 0.5661 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.1457, allocations: 8.656 kB / 0.5661 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.1457, allocations: 16.36 kB / 0.5661 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/0.1461, allocations: 279.5 kB / 0.5664 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.1462, allocations: 3.984 kB / 0.5664 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.1462, allocations: 8 kB / 0.5664 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.852e-05/0.1462, allocations: 24.22 kB / 0.5664 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003152/0.1466, allocations: 204.5 kB / 0.5666 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.1481, allocations: 1.58 MB / 0.5681 GB, free: 364 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003873/0.1485, allocations: 323.2 kB / 0.5684 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.556e-05/0.1487, allocations: 65.69 kB / 0.5685 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.1487, allocations: 7.922 kB / 0.5685 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.1487, allocations: 46.69 kB / 0.5686 GB, free: 15.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.1487, allocations: 0 / 0.5686 GB, free: 15.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005675/0.1493, allocations: 244.7 kB / 0.5688 GB, free: 15.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.1494, allocations: 81.05 kB / 0.5689 GB, free: 15.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.1496, allocations: 195.4 kB / 0.5691 GB, free: 15.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.1496, allocations: 25.7 kB / 0.5691 GB, free: 15.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.1497, allocations: 159.7 kB / 0.5692 GB, free: 15.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.1498, allocations: 35.69 kB / 0.5693 GB, free: 15.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.663e-05/0.1498, allocations: 29.7 kB / 0.5693 GB, free: 15.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1499, allocations: 322.8 kB / 0.5696 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.1501, allocations: 63.95 kB / 0.5697 GB, free: 14.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.1502, allocations: 156.6 kB / 0.5698 GB, free: 14.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.1505, allocations: 226.9 kB / 0.57 GB, free: 14.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1505, allocations: 0 / 0.57 GB, free: 14.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003951/0.1509, allocations: 265 kB / 0.5703 GB, free: 13.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.1511, allocations: 179.5 kB / 0.5704 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1511, allocations: 8 kB / 0.5705 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.1511, allocations: 4 kB / 0.5705 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.1513, allocations: 51.91 kB / 0.5705 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.1513, allocations: 4 kB / 0.5705 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.1515, allocations: 11.98 kB / 0.5705 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.1515, allocations: 15.98 kB / 0.5705 GB, free: 13.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/0.1515, allocations: 5.406 kB / 0.5705 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002814/0.1518, allocations: 194.8 kB / 0.5707 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1518, allocations: 4 kB / 0.5707 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.603e-06/0.1518, allocations: 4 kB / 0.5707 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.152, allocations: 55.84 kB / 0.5708 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.152, allocations: 4 kB / 0.5708 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.1521, allocations: 19.92 kB / 0.5708 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.1521, allocations: 8 kB / 0.5708 GB, free: 13.34 MB / 446.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 0.0001362/0.1523, allocations: 221.3 kB / 0.571 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.134e-05/0.1523, allocations: 15.81 kB / 0.571 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.1526, allocations: 150.9 kB / 0.5712 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1526, allocations: 4 kB / 0.5712 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1526, allocations: 3.938 kB / 0.5712 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1526, allocations: 0 / 0.5712 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008641/0.1535, allocations: 0.7196 MB / 0.5719 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1535, allocations: 0 / 0.5719 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.1536, allocations: 31.91 kB / 0.5719 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.1536, allocations: 4.344 kB / 0.5719 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.1537, allocations: 12 kB / 0.572 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1537, allocations: 4 kB / 0.572 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1537, allocations: 0 / 0.572 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.154, allocations: 378.1 kB / 0.5723 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.099e-05/0.1541, allocations: 105 kB / 0.5724 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.1541, allocations: 8 kB / 0.5724 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.1543, allocations: 11.98 kB / 0.5724 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.642e-05/0.1543, allocations: 19.91 kB / 0.5725 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.1543, allocations: 12 kB / 0.5725 GB, free: 11.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.1545, allocations: 153.1 kB / 0.5726 GB, free: 11.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1545, allocations: 0 / 0.5726 GB, free: 11.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004705/0.1549, allocations: 64 kB / 0.5727 GB, free: 11.29 MB / 446.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.0005607/0.1555, allocations: 0.915 MB / 0.5736 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003756/0.1559, allocations: 276.5 kB / 0.5738 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1559, allocations: 3.938 kB / 0.5738 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.293e-05/0.156, allocations: 55.84 kB / 0.5739 GB, free: 9.992 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004733/0.1565, allocations: 37.69 kB / 0.5739 GB, free: 9.957 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.1587, allocations: 2.383 MB / 0.5762 GB, free: 7.371 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.159, allocations: 0.7363 MB / 0.577 GB, free: 6.609 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001882/0.1592, allocations: 69.47 kB / 0.577 GB, free: 6.543 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.885e-05/0.1593, allocations: 47.42 kB / 0.5771 GB, free: 6.496 MB / 446.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1593, allocations: 0 / 0.5771 GB, free: 6.496 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01305/0.1724, allocations: 3.252 MB / 0.5803 GB, free: 3.438 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/0.1726, allocations: 240.7 kB / 0.5805 GB, free: 3.172 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/1.786, allocations: 0 / 0.5805 GB, free: 3.172 MB / 446.1 MB (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)