Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 106.2 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.001656/0.001656, allocations: 189.2 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.422/1.422, allocations: 222.9 MB / 241.1 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.002536/0.002536, allocations: 292.4 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.01/1.01, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002796/0.002796, allocations: 107.8 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.481/0.4838, allocations: 86.97 MB / 0.767 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006731/0.4905, allocations: 4.289 MB / 0.7712 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004226/0.4947, allocations: 2.373 MB / 0.7736 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003329/0.4951, allocations: 19.88 kB / 0.7736 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.4963, allocations: 374.2 kB / 0.7739 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009291/0.4972, allocations: 390.1 kB / 0.7743 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008505/0.498, allocations: 314 kB / 0.7746 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008764/0.4989, allocations: 0.6827 MB / 0.7753 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004027/0.4993, allocations: 217.6 kB / 0.7755 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003617/0.4997, allocations: 259 kB / 0.7757 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000378/0.5001, allocations: 274.8 kB / 0.776 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.944e-05/0.5001, allocations: 28 kB / 0.776 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007749/0.5009, allocations: 431 kB / 0.7764 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.5011, allocations: 143.5 kB / 0.7766 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002495/0.5013, allocations: 234.7 kB / 0.7768 GB, free: 9.902 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.5023, allocations: 0.7411 MB / 0.7775 GB, free: 9.164 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.5023, allocations: 0 / 0.7775 GB, free: 9.164 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.933e-06/0.5023, allocations: 0 / 0.7775 GB, free: 9.164 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.5023, allocations: 0 / 0.7775 GB, free: 9.164 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.00133/0.5036, allocations: 0.7941 MB / 0.7783 GB, free: 8.32 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.5037, allocations: 12.02 kB / 0.7783 GB, free: 8.309 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/0.5051, allocations: 192.3 kB / 0.7785 GB, free: 8.121 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007386/0.5059, allocations: 452.7 kB / 0.7789 GB, free: 7.641 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.5059, allocations: 25.36 kB / 0.7789 GB, free: 7.613 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-05/0.506, allocations: 32.38 kB / 0.779 GB, free: 7.582 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009658/0.5069, allocations: 0.6548 MB / 0.7796 GB, free: 6.844 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.507, allocations: 11.94 kB / 0.7796 GB, free: 6.832 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.86e-05/0.507, allocations: 15.98 kB / 0.7796 GB, free: 6.816 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.854e-05/0.5071, allocations: 55.89 kB / 0.7797 GB, free: 6.762 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007832/0.5079, allocations: 498.7 kB / 0.7802 GB, free: 6.277 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003791/0.5117, allocations: 3.79 MB / 0.7839 GB, free: 2.227 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.5135, allocations: 0.6049 MB / 0.7845 GB, free: 1.594 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/0.5138, allocations: 166.4 kB / 0.7846 GB, free: 1.422 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.5138, allocations: 8 kB / 0.7846 GB, free: 1.414 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.5139, allocations: 34.55 kB / 0.7846 GB, free: 1.371 MB / 0.545 GB Notification: Performance of pre-optimization done (n=30): time 2.374e-06/0.5139, allocations: 0 / 0.7846 GB, free: 1.371 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.002467/0.5163, allocations: 1.291 MB / 0.7859 GB, free: 8 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.635e-05/0.5164, allocations: 106.8 kB / 0.786 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004674/0.5169, allocations: 405.8 kB / 0.7864 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.5169, allocations: 29.7 kB / 0.7864 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.5172, allocations: 292.1 kB / 0.7867 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.5173, allocations: 126.9 kB / 0.7868 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.5174, allocations: 98.2 kB / 0.7869 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.5176, allocations: 354.8 kB / 0.7873 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/0.5179, allocations: 177 kB / 0.7874 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004593/0.5183, allocations: 379.5 kB / 0.7878 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007809/0.5191, allocations: 0.5873 MB / 0.7884 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-05/0.5191, allocations: 7.938 kB / 0.7884 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001148/0.5203, allocations: 0.6715 MB / 0.789 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.5203, allocations: 8 kB / 0.789 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.5203, allocations: 8 kB / 0.789 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003633/0.5207, allocations: 102.4 kB / 0.7891 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004284/0.5211, allocations: 111.8 kB / 0.7892 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004041/0.5251, allocations: 4.361 MB / 0.7935 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/0.5256, allocations: 23.98 kB / 0.7935 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.132e-05/0.5256, allocations: 27.98 kB / 0.7936 GB, free: 7.477 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002777/0.5259, allocations: 197.6 kB / 0.7937 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.526, allocations: 47.72 kB / 0.7938 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000957/0.527, allocations: 0.519 MB / 0.7943 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.527, allocations: 4 kB / 0.7943 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.527, allocations: 4 kB / 0.7943 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.527, allocations: 3.984 kB / 0.7943 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.5289, allocations: 1.283 MB / 0.7956 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.529, allocations: 0 / 0.7956 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.5292, allocations: 64.17 kB / 0.7956 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002933/0.5295, allocations: 90.52 kB / 0.7957 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.5295, allocations: 8 kB / 0.7957 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003671/0.5332, allocations: 4.336 MB / 0.7999 GB, free: 388 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.5332, allocations: 7.969 kB / 0.8 GB, free: 380 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.5343, allocations: 0.7904 MB / 0.8007 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.5345, allocations: 152.8 kB / 0.8009 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.669e-05/0.5345, allocations: 12 kB / 0.8009 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003246/0.5349, allocations: 19.97 kB / 0.8009 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.271e-05/0.5349, allocations: 39.84 kB / 0.8009 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.535, allocations: 12 kB / 0.801 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003163/0.5353, allocations: 279.1 kB / 0.8012 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.5353, allocations: 0 / 0.8012 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007049/0.536, allocations: 124 kB / 0.8013 GB, free: 14.89 MB / 0.5762 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001599/0.5361, allocations: 119.1 kB / 0.8015 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001297/0.5374, allocations: 0.787 MB / 0.8022 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5374, allocations: 0 / 0.8022 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000761/0.5382, allocations: 0.5319 MB / 0.8027 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009245/0.5391, allocations: 130.1 kB / 0.8029 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.5406, allocations: 0.9111 MB / 0.8038 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005515/0.5412, allocations: 0.8663 MB / 0.8046 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002786/0.5415, allocations: 100.5 kB / 0.8047 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.959e-05/0.5416, allocations: 43.44 kB / 0.8047 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of SimCode: time 9.22e-07/0.5416, allocations: 3.938 kB / 0.8047 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of Templates: time 0.01217/0.5537, allocations: 5.889 MB / 0.8105 GB, free: 5.395 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)