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.002244/0.002244, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.002361/0.002361, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.604/1.604, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002231/0.002231, allocations: 288.8 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9812/0.9812, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 91.86 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5487/0.5508, allocations: 86.98 MB / 0.767 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.0097/0.5606, allocations: 6.075 MB / 0.773 GB, free: 13.83 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006081/0.5667, allocations: 3.141 MB / 0.776 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000967/0.5677, allocations: 27.81 kB / 0.7761 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002845/0.5706, allocations: 0.9453 MB / 0.777 GB, free: 9.703 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00186/0.5725, allocations: 485.6 kB / 0.7775 GB, free: 9.227 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.5741, allocations: 492.7 kB / 0.7779 GB, free: 8.746 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001819/0.576, allocations: 1.092 MB / 0.779 GB, free: 7.648 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.5772, allocations: 0.6385 MB / 0.7796 GB, free: 7.012 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009613/0.5782, allocations: 446.4 kB / 0.78 GB, free: 6.574 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009223/0.5791, allocations: 470.2 kB / 0.7805 GB, free: 6.113 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002065/0.5794, allocations: 56 kB / 0.7805 GB, free: 6.059 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.5806, allocations: 491 kB / 0.781 GB, free: 5.578 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004116/0.581, allocations: 283.2 kB / 0.7813 GB, free: 5.301 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000671/0.5817, allocations: 397.9 kB / 0.7817 GB, free: 4.91 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002164/0.5839, allocations: 1.178 MB / 0.7828 GB, free: 3.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.5839, allocations: 0 / 0.7828 GB, free: 3.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5839, allocations: 0 / 0.7828 GB, free: 3.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.025e-05/0.584, allocations: 0 / 0.7828 GB, free: 3.73 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.002584/0.5865, allocations: 1.052 MB / 0.7838 GB, free: 2.625 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.5866, allocations: 16.03 kB / 0.7839 GB, free: 2.609 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/0.5884, allocations: 215.7 kB / 0.7841 GB, free: 2.398 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.5895, allocations: 0.5882 MB / 0.7846 GB, free: 1.773 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.077e-05/0.5896, allocations: 49.67 kB / 0.7847 GB, free: 1.727 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.5898, allocations: 56.38 kB / 0.7847 GB, free: 1.672 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/0.5916, allocations: 1.034 MB / 0.7857 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-05/0.5917, allocations: 15.83 kB / 0.7858 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.886e-05/0.5917, allocations: 27.98 kB / 0.7858 GB, free: 500 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/0.5919, allocations: 73.27 kB / 0.7859 GB, free: 428 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.593, allocations: 0.6919 MB / 0.7865 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005435/0.5984, allocations: 5.733 MB / 0.7921 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008882/0.5993, allocations: 0.6031 MB / 0.7927 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008247/0.6002, allocations: 430.4 kB / 0.7931 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.364e-05/0.6002, allocations: 4 kB / 0.7931 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.6003, allocations: 38.5 kB / 0.7932 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 2.424e-06/0.6003, allocations: 0 / 0.7932 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.004409/0.6047, allocations: 2.011 MB / 0.7951 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.6047, allocations: 67.33 kB / 0.7952 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005438/0.6053, allocations: 458.7 kB / 0.7956 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/0.6053, allocations: 29.7 kB / 0.7957 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002878/0.6056, allocations: 387.1 kB / 0.796 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.6058, allocations: 153.8 kB / 0.7962 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.606, allocations: 106.2 kB / 0.7963 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.6061, allocations: 362.8 kB / 0.7966 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.6065, allocations: 245.2 kB / 0.7969 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005041/0.607, allocations: 457 kB / 0.7973 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000935/0.6079, allocations: 0.7448 MB / 0.798 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.608, allocations: 0 / 0.798 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001805/0.6098, allocations: 1.038 MB / 0.799 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.6098, allocations: 8.875 kB / 0.7991 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.6098, allocations: 8 kB / 0.7991 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.6108, allocations: 327 kB / 0.7994 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.6112, allocations: 95.83 kB / 0.7995 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007587/0.6188, allocations: 7.481 MB / 0.8068 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005076/0.6193, allocations: 36.02 kB / 0.8068 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/0.6194, allocations: 24 kB / 0.8068 GB, free: 9.531 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.0004326/0.6198, allocations: 241.6 kB / 0.8071 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.6199, allocations: 63.28 kB / 0.8071 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001697/0.6216, allocations: 0.8886 MB / 0.808 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.6216, allocations: 7.938 kB / 0.808 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.6216, allocations: 4 kB / 0.808 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.6217, allocations: 3.984 kB / 0.808 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002585/0.6242, allocations: 1.674 MB / 0.8096 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-06/0.6243, allocations: 4.188 kB / 0.8096 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.6244, allocations: 43.91 kB / 0.8097 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008848/0.6253, allocations: 311.1 kB / 0.81 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.6254, allocations: 8 kB / 0.81 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00742/0.6328, allocations: 7.466 MB / 0.8173 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.6328, allocations: 3.938 kB / 0.8173 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.6349, allocations: 0.9917 MB / 0.8182 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004474/0.6354, allocations: 168.4 kB / 0.8184 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.6355, allocations: 11.94 kB / 0.8184 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004179/0.636, allocations: 23.97 kB / 0.8184 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.6361, allocations: 43.83 kB / 0.8185 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/0.6362, allocations: 16 kB / 0.8185 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005679/0.6368, allocations: 306.9 kB / 0.8188 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6368, allocations: 0 / 0.8188 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001202/0.638, allocations: 196 kB / 0.819 GB, free: 12.32 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.0002643/0.6383, allocations: 111.2 kB / 0.8191 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002353/0.6406, allocations: 1.191 MB / 0.8202 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.6406, allocations: 0 / 0.8202 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.6421, allocations: 0.8581 MB / 0.8211 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.6433, allocations: 202.9 kB / 0.8213 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.6459, allocations: 1.298 MB / 0.8225 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008549/0.6468, allocations: 0.9842 MB / 0.8235 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.6469, allocations: 43.44 kB / 0.8235 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of SimCode: time 8.62e-07/0.6469, allocations: 0 / 0.8235 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of Templates: time 0.02525/0.6722, allocations: 18.48 MB / 0.8416 GB, free: 5.02 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)