Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005179/0.005179, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001226/0.001226, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.261/1.261, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002041/0.002041, allocations: 283.7 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9278/0.9278, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 95.84 kB / 0.6815 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4516/0.4534, allocations: 86.99 MB / 0.7664 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007956/0.4614, allocations: 6.723 MB / 0.773 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005073/0.4666, allocations: 3.02 MB / 0.7759 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004894/0.4671, allocations: 27.81 kB / 0.7759 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002354/0.4695, allocations: 0.9555 MB / 0.7769 GB, free: 9.129 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.4707, allocations: 0.5246 MB / 0.7774 GB, free: 8.602 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.4717, allocations: 425.3 kB / 0.7778 GB, free: 8.188 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001297/0.473, allocations: 1.228 MB / 0.779 GB, free: 6.953 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009085/0.474, allocations: 0.6545 MB / 0.7796 GB, free: 6.297 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005832/0.4745, allocations: 478.3 kB / 0.7801 GB, free: 5.828 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005803/0.4751, allocations: 0.5176 MB / 0.7806 GB, free: 5.309 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.828e-05/0.4752, allocations: 68 kB / 0.7807 GB, free: 5.242 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006746/0.4759, allocations: 375.2 kB / 0.781 GB, free: 4.875 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.4762, allocations: 311.1 kB / 0.7813 GB, free: 4.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004038/0.4766, allocations: 441.8 kB / 0.7817 GB, free: 4.137 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.4778, allocations: 1.221 MB / 0.7829 GB, free: 2.914 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4778, allocations: 3.938 kB / 0.7829 GB, free: 2.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4778, allocations: 0 / 0.7829 GB, free: 2.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.4778, allocations: 4 kB / 0.7829 GB, free: 2.906 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001752/0.4796, allocations: 1.149 MB / 0.7841 GB, free: 1.703 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.4796, allocations: 16.03 kB / 0.7841 GB, free: 1.688 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/0.4811, allocations: 243.5 kB / 0.7843 GB, free: 1.449 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008557/0.482, allocations: 0.592 MB / 0.7849 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/0.482, allocations: 45.67 kB / 0.7849 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.4821, allocations: 68.36 kB / 0.785 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.4836, allocations: 1.089 MB / 0.7861 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.4836, allocations: 7.938 kB / 0.7861 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.182e-05/0.4837, allocations: 31.98 kB / 0.7861 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001352/0.4838, allocations: 81.25 kB / 0.7862 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.4849, allocations: 0.7504 MB / 0.7869 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005098/0.49, allocations: 5.882 MB / 0.7926 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000952/0.491, allocations: 0.5531 MB / 0.7932 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004366/0.4915, allocations: 326 kB / 0.7935 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.727e-05/0.4915, allocations: 4.438 kB / 0.7935 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.4915, allocations: 39 kB / 0.7935 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 1.943e-06/0.4915, allocations: 0 / 0.7935 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.003553/0.4951, allocations: 1.994 MB / 0.7955 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.4952, allocations: 55.84 kB / 0.7955 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000863/0.496, allocations: 0.5547 MB / 0.7961 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.854e-05/0.4961, allocations: 37.7 kB / 0.7961 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003096/0.4964, allocations: 414.9 kB / 0.7965 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.4966, allocations: 165.6 kB / 0.7967 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.4968, allocations: 126.6 kB / 0.7968 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.4969, allocations: 378.7 kB / 0.7972 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005305/0.4974, allocations: 269.8 kB / 0.7974 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00076/0.4982, allocations: 493 kB / 0.7979 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.4993, allocations: 0.8132 MB / 0.7987 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.4993, allocations: 4 kB / 0.7987 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001919/0.5012, allocations: 1.09 MB / 0.7997 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.5012, allocations: 8 kB / 0.7997 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.5013, allocations: 4 kB / 0.7998 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009254/0.5022, allocations: 276 kB / 0.8 GB, free: 408 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004744/0.5027, allocations: 131.7 kB / 0.8001 GB, free: 276 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006768/0.5095, allocations: 7.134 MB / 0.8071 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005313/0.51, allocations: 39.95 kB / 0.8071 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.885e-05/0.5101, allocations: 32 kB / 0.8072 GB, free: 8.504 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003262/0.5104, allocations: 256 kB / 0.8074 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.5105, allocations: 71.16 kB / 0.8075 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/0.512, allocations: 0.8923 MB / 0.8084 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.512, allocations: 4 kB / 0.8084 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.512, allocations: 7.938 kB / 0.8084 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.512, allocations: 3.984 kB / 0.8084 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/0.5144, allocations: 1.721 MB / 0.8101 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5144, allocations: 0 / 0.8101 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.5147, allocations: 71.81 kB / 0.8101 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006938/0.5154, allocations: 271.6 kB / 0.8104 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.29e-05/0.5154, allocations: 12 kB / 0.8104 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005971/0.5214, allocations: 7.114 MB / 0.8173 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.5214, allocations: 192 / 0.8173 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.5229, allocations: 0.9873 MB / 0.8183 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002379/0.5231, allocations: 196.2 kB / 0.8185 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.764e-05/0.5232, allocations: 12 kB / 0.8185 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/0.5235, allocations: 27.91 kB / 0.8185 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.476e-05/0.5236, allocations: 47.94 kB / 0.8186 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.5237, allocations: 12 kB / 0.8186 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003887/0.524, allocations: 387 kB / 0.819 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.493e-06/0.5241, allocations: 0 / 0.819 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007546/0.5248, allocations: 227.9 kB / 0.8192 GB, free: 11.46 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001475/0.525, allocations: 111.2 kB / 0.8193 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001815/0.5268, allocations: 1.283 MB / 0.8205 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5268, allocations: 0 / 0.8205 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.528, allocations: 0.8855 MB / 0.8214 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009137/0.5289, allocations: 225.3 kB / 0.8216 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.5308, allocations: 1.318 MB / 0.8229 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005688/0.5314, allocations: 1.005 MB / 0.8239 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002982/0.5317, allocations: 118 kB / 0.824 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.967e-05/0.5318, allocations: 43.44 kB / 0.824 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.5318, allocations: 4 kB / 0.824 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of Templates: time 0.01741/0.5492, allocations: 11.32 MB / 0.8351 GB, free: 11.11 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)