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.001147/0.001147, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001163/0.001163, allocations: 194.2 kB / 16.13 MB, free: 6.664 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.222/1.222, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001833/0.001833, allocations: 274.9 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8508/0.8508, allocations: 169.2 MB / 0.4977 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 100.8 kB / 0.5946 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1226, allocations: 86.97 MB / 0.6796 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.00951/0.1322, allocations: 10.04 MB / 0.6894 GB, free: 7.031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003957/0.1361, allocations: 3.172 MB / 0.6925 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002876/0.1364, allocations: 31.81 kB / 0.6925 GB, free: 3.824 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.1376, allocations: 0.5471 MB / 0.693 GB, free: 3.277 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009388/0.1386, allocations: 0.6964 MB / 0.6937 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.1396, allocations: 0.6904 MB / 0.6944 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003166/0.1428, allocations: 4.482 MB / 0.6988 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00301/0.1458, allocations: 2.842 MB / 0.7015 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.1469, allocations: 1.055 MB / 0.7026 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/0.1484, allocations: 1.613 MB / 0.7041 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002302/0.1487, allocations: 160 kB / 0.7043 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008027/0.1495, allocations: 0.507 MB / 0.7048 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007479/0.1502, allocations: 1.002 MB / 0.7058 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008305/0.1511, allocations: 1.027 MB / 0.7068 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002372/0.1535, allocations: 3.634 MB / 0.7103 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1535, allocations: 0 / 0.7103 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.01e-07/0.1535, allocations: 4 kB / 0.7103 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.008e-05/0.1535, allocations: 0 / 0.7103 GB, free: 1.492 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.003029/0.1565, allocations: 2.134 MB / 0.7124 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.1566, allocations: 12.03 kB / 0.7124 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002817/0.1569, allocations: 265.2 kB / 0.7127 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007636/0.1645, allocations: 1.317 MB / 0.7139 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001753/0.1663, allocations: 1.247 MB / 0.7152 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.734e-05/0.1664, allocations: 115.4 kB / 0.7153 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002535/0.1666, allocations: 148.3 kB / 0.7154 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004255/0.1709, allocations: 3.445 MB / 0.7188 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/0.1709, allocations: 3.938 kB / 0.7188 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001898/0.1711, allocations: 63.97 kB / 0.7188 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002028/0.1713, allocations: 203.1 kB / 0.719 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004053/0.1754, allocations: 3.128 MB / 0.7221 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01366/0.189, allocations: 13.62 MB / 0.7354 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002116/0.1912, allocations: 1.736 MB / 0.7371 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00168/0.1929, allocations: 1.44 MB / 0.7385 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.491e-05/0.193, allocations: 9 kB / 0.7385 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.193, allocations: 51.5 kB / 0.7386 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=104): time 2.345e-06/0.193, allocations: 4 kB / 0.7386 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of matching and sorting (n=183): time 0.3542/0.5473, allocations: 36.66 MB / 0.7744 GB, free: 89.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.5473, allocations: 70.88 kB / 0.7744 GB, free: 89.37 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.5486, allocations: 1.053 MB / 0.7754 GB, free: 89.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002628/0.5489, allocations: 57.7 kB / 0.7755 GB, free: 89.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003384/0.5493, allocations: 0.7898 MB / 0.7763 GB, free: 88.94 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003866/0.5497, allocations: 0.6191 MB / 0.7769 GB, free: 88.46 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006618/0.5503, allocations: 366.1 kB / 0.7772 GB, free: 88.31 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.061e-05/0.5504, allocations: 306.3 kB / 0.7775 GB, free: 88.01 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002253/0.5526, allocations: 1.93 MB / 0.7794 GB, free: 87.35 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002361/0.555, allocations: 2.289 MB / 0.7816 GB, free: 86.31 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00448/0.5595, allocations: 4.393 MB / 0.7859 GB, free: 84.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.5595, allocations: 3.188 kB / 0.7859 GB, free: 84.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01672/0.5762, allocations: 9.018 MB / 0.7947 GB, free: 81.76 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.5763, allocations: 12.12 kB / 0.7948 GB, free: 81.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/0.5763, allocations: 9.5 kB / 0.7948 GB, free: 81.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0148/0.5911, allocations: 4.977 MB / 0.7996 GB, free: 80.35 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007776/0.5919, allocations: 190.8 kB / 0.7998 GB, free: 80.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03819/0.6301, allocations: 35.28 MB / 0.8343 GB, free: 52.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.6316, allocations: 99.89 kB / 0.8344 GB, free: 52.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/0.6318, allocations: 64.66 kB / 0.8344 GB, free: 52.74 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.0009114/0.6327, allocations: 0.8081 MB / 0.8352 GB, free: 51.92 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002288/0.633, allocations: 138.3 kB / 0.8353 GB, free: 51.79 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01503/0.648, allocations: 8.898 MB / 0.844 GB, free: 42.85 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.648, allocations: 16 kB / 0.844 GB, free: 42.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.441e-05/0.6481, allocations: 28 kB / 0.8441 GB, free: 42.81 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.6481, allocations: 11.91 kB / 0.8441 GB, free: 42.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02094/0.669, allocations: 13.3 MB / 0.8571 GB, free: 29.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.6691, allocations: 4 kB / 0.8571 GB, free: 29.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004219/0.6695, allocations: 119.8 kB / 0.8572 GB, free: 29.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01376/0.6833, allocations: 4.759 MB / 0.8618 GB, free: 24.51 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002133/0.6835, allocations: 37.44 kB / 0.8619 GB, free: 24.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03774/0.7212, allocations: 31.58 MB / 0.8927 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.7213, allocations: 4 kB / 0.8927 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01728/0.7386, allocations: 8.404 MB / 0.9009 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/0.7397, allocations: 0.6124 MB / 0.9015 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003758/0.7401, allocations: 39.98 kB / 0.9015 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.7413, allocations: 91.89 kB / 0.9016 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007576/0.7421, allocations: 162.5 kB / 0.9018 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/0.7422, allocations: 48 kB / 0.9018 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000972/0.7432, allocations: 0.7382 MB / 0.9026 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7432, allocations: 0 / 0.9026 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002818/0.746, allocations: 1.004 MB / 0.9035 GB, free: 13.16 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.01705/0.7631, allocations: 8.996 MB / 0.9123 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009415/0.7725, allocations: 5.847 MB / 0.918 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.7726, allocations: 4.188 kB / 0.918 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00696/0.7795, allocations: 3.839 MB / 0.9218 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.7812, allocations: 232.4 kB / 0.922 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05548/0.8367, allocations: 32.48 MB / 0.9537 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001767/0.8385, allocations: 1.866 MB / 0.9555 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007828/0.8393, allocations: 349.7 kB / 0.9559 GB, free: 6.484 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006843/0.84, allocations: 0.6106 MB / 0.9565 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of SimCode: time 7.21e-07/0.84, allocations: 0 / 0.9565 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.859/2.699, allocations: 72.75 MB / 1.028 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004027/2.7, allocations: 281 kB / 1.028 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.438/5.137, allocations: 6.688 kB / 1.028 GB, free: 13.17 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)