Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",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.00116/0.001161, allocations: 100.1 kB / 15.88 MB, free: 12 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.001114/0.001114, allocations: 209.6 kB / 16.79 MB, free: 6.84 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.152/1.152, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6178/0.6178, allocations: 115.3 MB / 406 MB, free: 2.793 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 64.06 kB / 493 MB, free: 6.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1253, allocations: 76.19 MB / 0.5559 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01029/0.1356, allocations: 10.03 MB / 0.5657 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004512/0.1402, allocations: 3.174 MB / 0.5688 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005196/0.1407, allocations: 31.81 kB / 0.5688 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001318/0.142, allocations: 0.5516 MB / 0.5693 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001199/0.1432, allocations: 0.7081 MB / 0.57 GB, free: 12.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.1445, allocations: 0.6747 MB / 0.5707 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003417/0.1479, allocations: 4.482 MB / 0.5751 GB, free: 7.008 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003394/0.1513, allocations: 2.835 MB / 0.5778 GB, free: 4.133 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.1527, allocations: 1.059 MB / 0.5789 GB, free: 3.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001833/0.1546, allocations: 1.613 MB / 0.5804 GB, free: 1.453 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002411/0.1548, allocations: 160 kB / 0.5806 GB, free: 1.297 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008149/0.1556, allocations: 0.5071 MB / 0.5811 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2064/0.362, allocations: 0.9996 MB / 0.5821 GB, free: 17.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001392/0.3635, allocations: 1.029 MB / 0.5831 GB, free: 17.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003373/0.3668, allocations: 3.624 MB / 0.5866 GB, free: 16.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3669, allocations: 5.25 kB / 0.5866 GB, free: 16.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.3669, allocations: 0 / 0.5866 GB, free: 16.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.179e-05/0.3669, allocations: 0.8125 kB / 0.5866 GB, free: 16.77 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003728/0.3707, allocations: 2.14 MB / 0.5887 GB, free: 15.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3707, allocations: 9.812 kB / 0.5887 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003371/0.371, allocations: 262.6 kB / 0.589 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008085/0.3791, allocations: 1.321 MB / 0.5902 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002143/0.3813, allocations: 1.249 MB / 0.5915 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.083e-05/0.3814, allocations: 116.4 kB / 0.5916 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003021/0.3817, allocations: 145.4 kB / 0.5917 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005273/0.387, allocations: 3.439 MB / 0.5951 GB, free: 14.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/0.387, allocations: 5.141 kB / 0.5951 GB, free: 14.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002259/0.3872, allocations: 68.39 kB / 0.5951 GB, free: 14.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002478/0.3875, allocations: 203.8 kB / 0.5953 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004445/0.392, allocations: 3.128 MB / 0.5984 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0129/0.4049, allocations: 13.61 MB / 0.6117 GB, free: 5.492 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/0.4069, allocations: 1.726 MB / 0.6134 GB, free: 4.629 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001599/0.4085, allocations: 1.442 MB / 0.6148 GB, free: 3.918 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.346e-05/0.4086, allocations: 15.58 kB / 0.6148 GB, free: 3.914 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.4086, allocations: 47.28 kB / 0.6148 GB, free: 3.859 MB / 446.1 MB Notification: Performance of pre-optimization done (n=104): time 2.625e-06/0.4086, allocations: 0 / 0.6148 GB, free: 3.859 MB / 446.1 MB Notification: Performance of matching and sorting (n=183): time 0.1235/0.5321, allocations: 36.68 MB / 0.6507 GB, free: 5.434 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.5322, allocations: 69.41 kB / 0.6507 GB, free: 5.352 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.5336, allocations: 1.054 MB / 0.6518 GB, free: 4.273 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002535/0.5339, allocations: 53.7 kB / 0.6518 GB, free: 4.215 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004687/0.5343, allocations: 0.7911 MB / 0.6526 GB, free: 3.414 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005364/0.5349, allocations: 0.6232 MB / 0.6532 GB, free: 2.797 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007292/0.5356, allocations: 363.4 kB / 0.6535 GB, free: 2.438 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.38e-05/0.5357, allocations: 301.1 kB / 0.6538 GB, free: 2.141 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002498/0.5382, allocations: 1.928 MB / 0.6557 GB, free: 216 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002734/0.541, allocations: 2.28 MB / 0.6579 GB, free: 13.81 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005428/0.5464, allocations: 4.398 MB / 0.6622 GB, free: 9.324 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.5464, allocations: 4 kB / 0.6622 GB, free: 9.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01839/0.5648, allocations: 9.021 MB / 0.671 GB, free: 452 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.5649, allocations: 19.88 kB / 0.6711 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.5649, allocations: 8 kB / 0.6711 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01563/0.5805, allocations: 4.978 MB / 0.6759 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008394/0.5814, allocations: 188 kB / 0.6761 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04899/0.6304, allocations: 35.26 MB / 0.7105 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/0.6323, allocations: 99.89 kB / 0.7106 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000194/0.6325, allocations: 75.98 kB / 0.7107 GB, free: 7.348 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001327/0.6338, allocations: 0.8038 MB / 0.7115 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002852/0.6341, allocations: 142.2 kB / 0.7116 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01754/0.6516, allocations: 8.898 MB / 0.7203 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/0.6517, allocations: 16 kB / 0.7203 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-05/0.6517, allocations: 28 kB / 0.7204 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.05e-05/0.6517, allocations: 7.969 kB / 0.7204 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02351/0.6753, allocations: 13.3 MB / 0.7334 GB, free: 136 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.6753, allocations: 7.938 kB / 0.7334 GB, free: 128 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000392/0.6757, allocations: 119.8 kB / 0.7335 GB, free: 8 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01475/0.6904, allocations: 4.759 MB / 0.7381 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001563/0.6906, allocations: 36 kB / 0.7382 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04301/0.7336, allocations: 31.58 MB / 0.769 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.7337, allocations: 11.59 kB / 0.769 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01679/0.7505, allocations: 8.404 MB / 0.7772 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/0.7516, allocations: 0.6125 MB / 0.7778 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002788/0.7518, allocations: 39.91 kB / 0.7779 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.7529, allocations: 95.89 kB / 0.7779 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006893/0.7536, allocations: 169.4 kB / 0.7781 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/0.7537, allocations: 44 kB / 0.7782 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008972/0.7546, allocations: 0.7382 MB / 0.7789 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7547, allocations: 0 / 0.7789 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002642/0.7573, allocations: 1.004 MB / 0.7799 GB, free: 15.86 MB / 0.6075 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01699/0.7743, allocations: 8.999 MB / 0.7886 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.008654/0.783, allocations: 5.842 MB / 0.7943 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.783, allocations: 0 / 0.7943 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.006538/0.7895, allocations: 3.836 MB / 0.7981 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.7908, allocations: 229.8 kB / 0.7983 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2401/1.031, allocations: 32.47 MB / 0.83 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001521/1.032, allocations: 1.859 MB / 0.8318 GB, free: 218.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008649/1.033, allocations: 349.5 kB / 0.8322 GB, free: 218.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005633/1.034, allocations: 0.611 MB / 0.8328 GB, free: 218.8 MB / 0.6387 GB Notification: Performance of SimCode: time 5.51e-07/1.034, allocations: 3.969 kB / 0.8328 GB, free: 218.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.839/3.873, allocations: 72.72 MB / 0.9038 GB, free: 171.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/3.873, allocations: 256.4 kB / 0.904 GB, free: 170.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.812/6.685, allocations: 0 / 0.904 GB, free: 170.8 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)