Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.ACLineMatrix_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.0007795/0.0007795, allocations: 96.66 kB / 15.68 MB, free: 488 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.0008305/0.0008305, allocations: 176.5 kB / 16.57 MB, free: 6.391 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.204/1.204, 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.6192/0.6192, allocations: 113.7 MB / 405.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003178, allocations: 8.906 kB / 493 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1394, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.008265/0.1478, allocations: 8.725 MB / 0.5653 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003979/0.1518, allocations: 2.898 MB / 0.5681 GB, free: 40 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003292/0.1521, allocations: 27.81 kB / 0.5681 GB, free: 12 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003453/0.1525, allocations: 182.9 kB / 0.5683 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008525/0.1533, allocations: 478.6 kB / 0.5687 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007979/0.1541, allocations: 435.3 kB / 0.5692 GB, free: 14.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00114/0.1553, allocations: 1.305 MB / 0.5704 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003125/0.1584, allocations: 2.674 MB / 0.573 GB, free: 10.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007625/0.1592, allocations: 0.7281 MB / 0.5738 GB, free: 10.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000887/0.1601, allocations: 0.8725 MB / 0.5746 GB, free: 9.312 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.1603, allocations: 104 kB / 0.5747 GB, free: 9.211 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003934/0.1607, allocations: 211.8 kB / 0.5749 GB, free: 9.004 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005806/0.1612, allocations: 0.7757 MB / 0.5757 GB, free: 8.227 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002508/0.1615, allocations: 356.8 kB / 0.576 GB, free: 7.871 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.1633, allocations: 2.751 MB / 0.5787 GB, free: 5.113 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1633, allocations: 0 / 0.5787 GB, free: 5.113 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1634, allocations: 3.938 kB / 0.5787 GB, free: 5.109 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.107e-05/0.1634, allocations: 0 / 0.5787 GB, free: 5.109 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002393/0.1658, allocations: 1.6 MB / 0.5803 GB, free: 3.453 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1658, allocations: 8.031 kB / 0.5803 GB, free: 3.445 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000271/0.1661, allocations: 256.5 kB / 0.5805 GB, free: 3.184 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005309/0.1714, allocations: 0.9498 MB / 0.5814 GB, free: 2.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001889/0.1733, allocations: 1.09 MB / 0.5825 GB, free: 1.098 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-05/0.1734, allocations: 106.9 kB / 0.5826 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002223/0.1736, allocations: 144 kB / 0.5827 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2259/0.3995, allocations: 2.991 MB / 0.5857 GB, free: 30.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.334e-05/0.3996, allocations: 9.828 kB / 0.5857 GB, free: 30.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001886/0.3998, allocations: 61.88 kB / 0.5857 GB, free: 30.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002431/0.4001, allocations: 175.9 kB / 0.5859 GB, free: 30.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004123/0.4042, allocations: 2.596 MB / 0.5884 GB, free: 30.05 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01521/0.4194, allocations: 13.55 MB / 0.6017 GB, free: 20.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001995/0.4214, allocations: 1.282 MB / 0.6029 GB, free: 19.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.762e-05/0.4215, allocations: 16.97 kB / 0.6029 GB, free: 19.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.4215, allocations: 43.5 kB / 0.603 GB, free: 19.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=82): time 2.434e-06/0.4215, allocations: 0 / 0.603 GB, free: 19.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.06311/0.4846, allocations: 19.43 MB / 0.6219 GB, free: 10.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.4847, allocations: 72.67 kB / 0.622 GB, free: 10.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008006/0.4855, allocations: 0.9105 MB / 0.6229 GB, free: 9.211 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.4856, allocations: 45.7 kB / 0.6229 GB, free: 9.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.4859, allocations: 0.7323 MB / 0.6237 GB, free: 8.418 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002463/0.4861, allocations: 480.3 kB / 0.6241 GB, free: 7.953 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.4862, allocations: 36 kB / 0.6242 GB, free: 7.918 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.4863, allocations: 425.8 kB / 0.6246 GB, free: 7.496 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.4876, allocations: 1.327 MB / 0.6259 GB, free: 6.168 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/0.489, allocations: 1.647 MB / 0.6275 GB, free: 4.402 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.4905, allocations: 1.552 MB / 0.629 GB, free: 2.848 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.4905, allocations: 8 kB / 0.629 GB, free: 2.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.009386/0.4999, allocations: 5.62 MB / 0.6345 GB, free: 13.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.5, allocations: 12.98 kB / 0.6345 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.5, allocations: 8 kB / 0.6345 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007637/0.5076, allocations: 2.716 MB / 0.6372 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000667/0.5083, allocations: 187.7 kB / 0.6373 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02946/0.5378, allocations: 24.34 MB / 0.6611 GB, free: 1.406 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.539, allocations: 95.95 kB / 0.6612 GB, free: 1.312 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.5392, allocations: 55.95 kB / 0.6612 GB, free: 1.258 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00101/0.5402, allocations: 0.74 MB / 0.662 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.5404, allocations: 110.7 kB / 0.6621 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009757/0.5501, allocations: 5.377 MB / 0.6673 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.5501, allocations: 16 kB / 0.6673 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/0.5502, allocations: 16 kB / 0.6674 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.5502, allocations: 7.969 kB / 0.6674 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.014/0.5642, allocations: 8.608 MB / 0.6758 GB, free: 2.254 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.5642, allocations: 4 kB / 0.6758 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004009/0.5646, allocations: 123.8 kB / 0.6759 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00732/0.5719, allocations: 2.534 MB / 0.6784 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.737e-05/0.5721, allocations: 28 kB / 0.6784 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02741/0.5995, allocations: 21.79 MB / 0.6997 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.5995, allocations: 4.109 kB / 0.6997 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009665/0.6092, allocations: 5.288 MB / 0.7048 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/0.6104, allocations: 479.6 kB / 0.7053 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.6106, allocations: 24 kB / 0.7053 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008419/0.6115, allocations: 79.89 kB / 0.7054 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004263/0.6119, allocations: 125 kB / 0.7055 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.612, allocations: 38.44 kB / 0.7056 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007384/0.6128, allocations: 0.6434 MB / 0.7062 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6128, allocations: 0 / 0.7062 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002125/0.6149, allocations: 0.7188 MB / 0.7069 GB, free: 1.672 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01006/0.625, allocations: 6.893 MB / 0.7136 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006629/0.6316, allocations: 4.147 MB / 0.7177 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.6316, allocations: 0 / 0.7177 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004602/0.6362, allocations: 2.651 MB / 0.7203 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009982/0.6373, allocations: 195.9 kB / 0.7204 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02271/0.66, allocations: 20.14 MB / 0.7401 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001366/0.6614, allocations: 1.744 MB / 0.7418 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000705/0.6621, allocations: 329.4 kB / 0.7421 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005653/0.6627, allocations: 0.5344 MB / 0.7427 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of SimCode: time 7.92e-07/0.6627, allocations: 0 / 0.7427 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5921/1.255, allocations: 48.83 MB / 0.7903 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/1.255, allocations: 231 kB / 0.7906 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.519/3.774, allocations: 0 / 0.7906 GB, free: 11.63 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) Environment - environmentSimulation: