Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001544/0.001544, allocations: 187 kB / 17.34 MB, free: 5.762 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.508/1.508, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002293/0.002293, allocations: 290 kB / 291.5 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 1.053/1.053, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 95.84 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5578/0.5599, allocations: 86.98 MB / 0.7671 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01521/0.5752, allocations: 10.88 MB / 0.7777 GB, free: 9.016 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01534/0.5906, allocations: 8.807 MB / 0.7863 GB, free: 184 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00206/0.5927, allocations: 59.62 kB / 0.7863 GB, free: 124 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005174/0.5979, allocations: 1.669 MB / 0.788 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005811/0.6038, allocations: 1.523 MB / 0.7895 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002478/0.6063, allocations: 0.6772 MB / 0.7901 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004162/0.6104, allocations: 2.286 MB / 0.7924 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002665/0.6131, allocations: 1.368 MB / 0.7937 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002638/0.6158, allocations: 1.012 MB / 0.7947 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002657/0.6185, allocations: 1.015 MB / 0.7957 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0007629/0.6193, allocations: 140 kB / 0.7958 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/0.6223, allocations: 0.7955 MB / 0.7966 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001286/0.6236, allocations: 0.5686 MB / 0.7971 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002586/0.6262, allocations: 0.8823 MB / 0.798 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008154/0.6344, allocations: 2.58 MB / 0.8005 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.218e-05/0.6345, allocations: 0 / 0.8005 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.327e-06/0.6345, allocations: 0 / 0.8005 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001751/0.6346, allocations: 0 / 0.8005 GB, free: 1.535 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.007425/0.6421, allocations: 2.022 MB / 0.8025 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.6422, allocations: 8.031 kB / 0.8025 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01239/0.6546, allocations: 2.046 MB / 0.8045 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004094/0.6587, allocations: 1.216 MB / 0.8057 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/0.6589, allocations: 86.67 kB / 0.8058 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006541/0.6596, allocations: 124 kB / 0.8059 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007248/0.6668, allocations: 2.482 MB / 0.8083 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.867e-05/0.6669, allocations: 11.84 kB / 0.8083 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003211/0.6673, allocations: 55.98 kB / 0.8084 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004117/0.6677, allocations: 126.1 kB / 0.8085 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008073/0.6758, allocations: 2.541 MB / 0.811 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01631/0.6921, allocations: 10.03 MB / 0.8208 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006771/0.699, allocations: 1.955 MB / 0.8227 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00301/0.702, allocations: 0.966 MB / 0.8236 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.625e-05/0.7021, allocations: 4.438 kB / 0.8236 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.7021, allocations: 46.98 kB / 0.8237 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.955e-06/0.7021, allocations: 0 / 0.8237 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.03351/0.7357, allocations: 8.714 MB / 0.8322 GB, free: 76 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.7357, allocations: 60.06 kB / 0.8322 GB, free: 4 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/0.7375, allocations: 1.105 MB / 0.8333 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001926/0.7377, allocations: 41.7 kB / 0.8334 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005951/0.7383, allocations: 0.7379 MB / 0.8341 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003573/0.7387, allocations: 283.9 kB / 0.8344 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004512/0.7391, allocations: 198.4 kB / 0.8345 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.7393, allocations: 345.9 kB / 0.8349 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003163/0.7424, allocations: 1.071 MB / 0.8359 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003358/0.7458, allocations: 1.309 MB / 0.8372 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006556/0.7524, allocations: 2.378 MB / 0.8395 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.7524, allocations: 4 kB / 0.8395 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009863/0.7623, allocations: 3.28 MB / 0.8427 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.7624, allocations: 8.875 kB / 0.8427 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-05/0.7624, allocations: 8 kB / 0.8427 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002935/0.7654, allocations: 0.795 MB / 0.8435 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/0.7675, allocations: 415.2 kB / 0.8439 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01774/0.7853, allocations: 15.91 MB / 0.8595 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002637/0.788, allocations: 287.5 kB / 0.8597 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003178/0.7883, allocations: 51.95 kB / 0.8598 GB, free: 2.375 MB / 0.6231 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.001163/0.7895, allocations: 403.9 kB / 0.8602 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004898/0.79, allocations: 142.3 kB / 0.8603 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009697/0.7997, allocations: 3.198 MB / 0.8634 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.18e-05/0.7998, allocations: 11.94 kB / 0.8634 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.04e-05/0.7998, allocations: 7.938 kB / 0.8634 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.981e-05/0.7999, allocations: 11.98 kB / 0.8634 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01291/0.8128, allocations: 4.898 MB / 0.8682 GB, free: 9.547 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/0.8128, allocations: 7.938 kB / 0.8682 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001766/0.8146, allocations: 351.4 kB / 0.8686 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002579/0.8172, allocations: 0.7058 MB / 0.8693 GB, free: 8.465 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/0.8174, allocations: 31.91 kB / 0.8693 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01809/0.8355, allocations: 15.53 MB / 0.8845 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.8355, allocations: 4.031 kB / 0.8845 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008798/0.8443, allocations: 3.047 MB / 0.8874 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009326/0.8453, allocations: 383.2 kB / 0.8878 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004265/0.8457, allocations: 15.94 kB / 0.8878 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002245/0.848, allocations: 295.4 kB / 0.8881 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003075/0.8483, allocations: 84.48 kB / 0.8882 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.8485, allocations: 39.97 kB / 0.8882 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001332/0.8498, allocations: 0.7366 MB / 0.8889 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8498, allocations: 0 / 0.8889 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001862/0.8517, allocations: 432 kB / 0.8894 GB, free: 2.664 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.0003428/0.852, allocations: 131.1 kB / 0.8895 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.009216/0.8613, allocations: 3.633 MB / 0.893 GB, free: 14.79 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.8613, allocations: 0 / 0.893 GB, free: 14.79 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005358/0.8667, allocations: 2.36 MB / 0.8953 GB, free: 12.33 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002884/0.8696, allocations: 0.5303 MB / 0.8958 GB, free: 11.83 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009032/0.8786, allocations: 3.533 MB / 0.8993 GB, free: 8.238 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001534/0.8802, allocations: 1.388 MB / 0.9007 GB, free: 6.816 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006963/0.8809, allocations: 123.3 kB / 0.9008 GB, free: 6.695 MB / 0.67 GB Notification: Performance of SimCode: time 6.31e-07/0.8809, allocations: 0 / 0.9008 GB, free: 6.695 MB / 0.67 GB Notification: Performance of Templates: time 0.5316/1.412, allocations: 75.11 MB / 0.9741 GB, free: 189.8 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)