Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_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.001226/0.001226, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001166/0.001166, allocations: 196 kB / 16.25 MB, free: 6.621 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.279/1.279, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002147/0.002147, allocations: 283 kB / 290.3 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9367/0.9367, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001578, allocations: 96.08 kB / 0.5948 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1533, allocations: 86.98 MB / 0.6797 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01093/0.1643, allocations: 10.04 MB / 0.6895 GB, free: 6.855 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005125/0.1694, allocations: 3.158 MB / 0.6926 GB, free: 3.699 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006586/0.1701, allocations: 27.88 kB / 0.6927 GB, free: 3.672 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001498/0.1716, allocations: 0.5474 MB / 0.6932 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.1731, allocations: 0.6925 MB / 0.6939 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.1746, allocations: 0.6748 MB / 0.6945 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003439/0.178, allocations: 3.012 MB / 0.6975 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004186/0.1822, allocations: 3.071 MB / 0.7005 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002004/0.1843, allocations: 1.27 MB / 0.7017 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002042/0.1863, allocations: 1.652 MB / 0.7033 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003711/0.1867, allocations: 239.9 kB / 0.7035 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009722/0.1877, allocations: 0.5032 MB / 0.704 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001056/0.1887, allocations: 1.072 MB / 0.7051 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001213/0.19, allocations: 1.112 MB / 0.7062 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003429/0.1934, allocations: 3.685 MB / 0.7098 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1934, allocations: 0 / 0.7098 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1934, allocations: 4 kB / 0.7098 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.479e-05/0.1935, allocations: 0 / 0.7098 GB, free: 2.062 MB / 0.4981 GB 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.003641/0.1971, allocations: 2.138 MB / 0.7119 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.1972, allocations: 8.031 kB / 0.7119 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004493/0.1976, allocations: 265.2 kB / 0.7121 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008322/0.2059, allocations: 1.317 MB / 0.7134 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002469/0.2085, allocations: 1.251 MB / 0.7146 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.308e-05/0.2086, allocations: 111.4 kB / 0.7147 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003058/0.2089, allocations: 148.3 kB / 0.7149 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005323/0.2142, allocations: 3.433 MB / 0.7182 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.012e-05/0.2143, allocations: 15.91 kB / 0.7182 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002047/0.2145, allocations: 67.95 kB / 0.7183 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002919/0.2148, allocations: 203.1 kB / 0.7185 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004839/0.2196, allocations: 3.124 MB / 0.7216 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01782/0.2375, allocations: 13.62 MB / 0.7349 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002703/0.2402, allocations: 1.734 MB / 0.7365 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002061/0.2423, allocations: 1.44 MB / 0.738 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.475e-05/0.2424, allocations: 13 kB / 0.738 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.2424, allocations: 39.56 kB / 0.738 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=104): time 2.955e-06/0.2424, allocations: 0 / 0.738 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of matching and sorting (n=183): time 0.4548/0.6972, allocations: 36.67 MB / 0.7738 GB, free: 89.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.6973, allocations: 72.14 kB / 0.7739 GB, free: 89.19 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/0.6992, allocations: 1.053 MB / 0.7749 GB, free: 89.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004357/0.6996, allocations: 52.98 kB / 0.775 GB, free: 89.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005763/0.7002, allocations: 0.7916 MB / 0.7757 GB, free: 88.85 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006213/0.7008, allocations: 0.6189 MB / 0.7763 GB, free: 88.45 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007931/0.7016, allocations: 366.3 kB / 0.7767 GB, free: 88.32 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.179e-05/0.7017, allocations: 308 kB / 0.777 GB, free: 88.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002786/0.7045, allocations: 1.928 MB / 0.7789 GB, free: 87.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003104/0.7076, allocations: 2.293 MB / 0.7811 GB, free: 86.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006099/0.7137, allocations: 4.385 MB / 0.7854 GB, free: 84.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.41e-05/0.7137, allocations: 6.938 kB / 0.7854 GB, free: 84.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02069/0.7344, allocations: 9.022 MB / 0.7942 GB, free: 81.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/0.7345, allocations: 13.02 kB / 0.7942 GB, free: 81.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/0.7345, allocations: 9.281 kB / 0.7942 GB, free: 81.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01702/0.7516, allocations: 5.014 MB / 0.7991 GB, free: 80.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.7527, allocations: 196.5 kB / 0.7993 GB, free: 80.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04843/0.8011, allocations: 38.91 MB / 0.8373 GB, free: 49.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/0.8032, allocations: 103.8 kB / 0.8374 GB, free: 49.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/0.8034, allocations: 68 kB / 0.8375 GB, free: 49.62 MB / 0.5606 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.001251/0.8047, allocations: 0.8131 MB / 0.8383 GB, free: 48.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003219/0.805, allocations: 138.3 kB / 0.8384 GB, free: 48.67 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01643/0.8214, allocations: 8.89 MB / 0.8471 GB, free: 39.74 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.507e-05/0.8215, allocations: 20 kB / 0.8471 GB, free: 39.72 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.932e-05/0.8216, allocations: 29.88 kB / 0.8471 GB, free: 39.69 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.438e-05/0.8216, allocations: 8.734 kB / 0.8471 GB, free: 39.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02266/0.8443, allocations: 13.3 MB / 0.8601 GB, free: 26.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-05/0.8444, allocations: 4 kB / 0.8601 GB, free: 26.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005087/0.8449, allocations: 123.8 kB / 0.8602 GB, free: 26.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01457/0.8595, allocations: 4.797 MB / 0.8649 GB, free: 21.35 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003502/0.8599, allocations: 32 kB / 0.865 GB, free: 21.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04674/0.9066, allocations: 34.86 MB / 0.899 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/0.9067, allocations: 7.938 kB / 0.899 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01931/0.926, allocations: 8.401 MB / 0.9072 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/0.9274, allocations: 0.6046 MB / 0.9078 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003486/0.9278, allocations: 43.89 kB / 0.9078 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.9291, allocations: 90.14 kB / 0.9079 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009228/0.93, allocations: 169.3 kB / 0.9081 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/0.9302, allocations: 48 kB / 0.9081 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001176/0.9314, allocations: 0.7382 MB / 0.9089 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9314, allocations: 0 / 0.9089 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003344/0.9347, allocations: 1.012 MB / 0.9098 GB, free: 6.699 MB / 0.5919 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.01893/0.9537, allocations: 8.988 MB / 0.9186 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01209/0.9658, allocations: 6.694 MB / 0.9252 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/0.9658, allocations: 0 / 0.9252 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.008123/0.974, allocations: 3.833 MB / 0.9289 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/0.9759, allocations: 247.9 kB / 0.9291 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06054/1.037, allocations: 32.48 MB / 0.9609 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001792/1.038, allocations: 1.863 MB / 0.9627 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009414/1.039, allocations: 353 kB / 0.963 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007029/1.04, allocations: 0.6086 MB / 0.9636 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of SimCode: time 8.01e-07/1.04, allocations: 0 / 0.9636 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1214/1.161, allocations: 74.79 MB / 1.037 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/1.162, allocations: 275 kB / 1.037 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.794/3.956, allocations: 0 / 1.037 GB, free: 3.871 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)