Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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: translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 108.8 kB / 16.41 MB, free: 6.449 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.001294/0.001294, allocations: 189.2 kB / 17.34 MB, free: 5.703 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002564/0.002564, allocations: 292.5 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9949/0.9949, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002773/0.002773, allocations: 95.84 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4098, allocations: 86.98 MB / 0.7671 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008336/0.4181, allocations: 6.094 MB / 0.773 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005537/0.4237, allocations: 3.145 MB / 0.7761 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003494/0.424, allocations: 27.81 kB / 0.7761 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002474/0.4265, allocations: 0.9408 MB / 0.777 GB, free: 9.727 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.4276, allocations: 497.5 kB / 0.7775 GB, free: 9.238 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.4287, allocations: 486.8 kB / 0.778 GB, free: 8.762 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001185/0.4299, allocations: 1.088 MB / 0.779 GB, free: 7.668 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007578/0.4306, allocations: 0.5138 MB / 0.7795 GB, free: 7.156 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005392/0.4312, allocations: 442.4 kB / 0.7799 GB, free: 6.723 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005847/0.4318, allocations: 474.2 kB / 0.7804 GB, free: 6.258 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.667e-05/0.4319, allocations: 60 kB / 0.7805 GB, free: 6.199 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007662/0.4326, allocations: 487 kB / 0.7809 GB, free: 5.723 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002917/0.4329, allocations: 295.1 kB / 0.7812 GB, free: 5.434 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003905/0.4333, allocations: 401.9 kB / 0.7816 GB, free: 5.039 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001372/0.4347, allocations: 1.185 MB / 0.7827 GB, free: 3.855 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.4347, allocations: 0 / 0.7827 GB, free: 3.855 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.452e-06/0.4347, allocations: 0 / 0.7827 GB, free: 3.855 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.4347, allocations: 0 / 0.7827 GB, free: 3.855 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001714/0.4364, allocations: 1.074 MB / 0.7838 GB, free: 2.727 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.4364, allocations: 8.031 kB / 0.7838 GB, free: 2.719 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/0.438, allocations: 228.2 kB / 0.784 GB, free: 2.496 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000972/0.439, allocations: 0.5771 MB / 0.7846 GB, free: 1.883 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.028e-05/0.439, allocations: 53.67 kB / 0.7846 GB, free: 1.832 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.4392, allocations: 64.31 kB / 0.7847 GB, free: 1.77 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.4407, allocations: 1.038 MB / 0.7857 GB, free: 0.625 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.4407, allocations: 7.938 kB / 0.7857 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.127e-05/0.4408, allocations: 31.98 kB / 0.7857 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-05/0.4409, allocations: 65.27 kB / 0.7858 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.442, allocations: 0.6918 MB / 0.7865 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005572/0.4476, allocations: 5.738 MB / 0.7921 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008603/0.4484, allocations: 0.5573 MB / 0.7926 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008319/0.4493, allocations: 388.5 kB / 0.793 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.4493, allocations: 4 kB / 0.793 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.4493, allocations: 38.56 kB / 0.793 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 1.994e-06/0.4493, allocations: 0 / 0.793 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.004566/0.4539, allocations: 2.02 MB / 0.795 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.454, allocations: 55.41 kB / 0.7951 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004964/0.4545, allocations: 458.8 kB / 0.7955 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.4545, allocations: 33.7 kB / 0.7955 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/0.4548, allocations: 392.2 kB / 0.7959 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.4549, allocations: 162.6 kB / 0.7961 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.4551, allocations: 106.3 kB / 0.7962 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.4553, allocations: 366.7 kB / 0.7965 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003648/0.4557, allocations: 249.2 kB / 0.7968 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005325/0.4562, allocations: 449 kB / 0.7972 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009995/0.4572, allocations: 0.7487 MB / 0.7979 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4572, allocations: 0 / 0.7979 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001913/0.4591, allocations: 1.034 MB / 0.7989 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.4591, allocations: 12.81 kB / 0.7989 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.4591, allocations: 4 kB / 0.7989 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.4602, allocations: 323.1 kB / 0.7992 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.4605, allocations: 99.81 kB / 0.7993 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00794/0.4685, allocations: 7.47 MB / 0.8066 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004204/0.4689, allocations: 32.02 kB / 0.8067 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/0.4689, allocations: 28.28 kB / 0.8067 GB, free: 9.715 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003534/0.4693, allocations: 242.1 kB / 0.8069 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.4694, allocations: 71.56 kB / 0.807 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001809/0.4712, allocations: 0.8846 MB / 0.8079 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.4712, allocations: 4 kB / 0.8079 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4712, allocations: 4 kB / 0.8079 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.4712, allocations: 3.984 kB / 0.8079 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002778/0.474, allocations: 1.666 MB / 0.8095 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.474, allocations: 8.031 kB / 0.8095 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.4742, allocations: 39.91 kB / 0.8095 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009575/0.4751, allocations: 303.2 kB / 0.8098 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.4752, allocations: 8 kB / 0.8098 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007727/0.4829, allocations: 7.472 MB / 0.8171 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.423e-06/0.4829, allocations: 8.219 kB / 0.8171 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.4847, allocations: 0.9724 MB / 0.8181 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002972/0.485, allocations: 176.7 kB / 0.8183 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.918e-05/0.4851, allocations: 11.94 kB / 0.8183 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/0.4854, allocations: 27.97 kB / 0.8183 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.4855, allocations: 43.83 kB / 0.8183 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/0.4855, allocations: 12 kB / 0.8184 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003731/0.4859, allocations: 310.9 kB / 0.8186 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.4859, allocations: 0 / 0.8186 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008719/0.4867, allocations: 192 kB / 0.8188 GB, free: 12.53 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001772/0.4869, allocations: 107.2 kB / 0.8189 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001954/0.4889, allocations: 1.155 MB / 0.8201 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4889, allocations: 4 kB / 0.8201 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.4901, allocations: 0.8307 MB / 0.8209 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.4912, allocations: 214.8 kB / 0.8211 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.4932, allocations: 1.24 MB / 0.8223 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006935/0.4939, allocations: 0.9999 MB / 0.8233 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002556/0.4942, allocations: 97.27 kB / 0.8234 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.412e-05/0.4943, allocations: 39.38 kB / 0.8234 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/0.4943, allocations: 0 / 0.8234 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of Templates: time 0.01857/0.5128, allocations: 10.04 MB / 0.8332 GB, free: 13.74 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)