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.001521/0.001521, allocations: 118.4 kB / 16.37 MB, free: 6 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.001808/0.001809, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002099/0.002099, allocations: 285.2 kB / 291.4 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.9303/0.9303, allocations: 169.3 MB / 0.4989 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001723, allocations: 90.8 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1428, allocations: 86.98 MB / 0.6816 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005266/0.148, allocations: 4.271 MB / 0.6858 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00324/0.1513, allocations: 2.369 MB / 0.6881 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.1515, allocations: 19.88 kB / 0.6881 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009949/0.1525, allocations: 370.2 kB / 0.6885 GB, free: 384 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000646/0.1532, allocations: 374.2 kB / 0.6888 GB, free: 8 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2477/0.4008, allocations: 308.9 kB / 0.6891 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007777/0.4016, allocations: 0.6823 MB / 0.6898 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003754/0.402, allocations: 267.2 kB / 0.69 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002832/0.4023, allocations: 256.4 kB / 0.6903 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/0.4026, allocations: 267.8 kB / 0.6905 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.226e-05/0.4027, allocations: 29.28 kB / 0.6906 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006517/0.4034, allocations: 439.6 kB / 0.691 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.4035, allocations: 142.7 kB / 0.6911 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.4037, allocations: 236.1 kB / 0.6914 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007946/0.4045, allocations: 0.7253 MB / 0.6921 GB, free: 12.83 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.4045, allocations: 1.281 kB / 0.6921 GB, free: 12.83 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4045, allocations: 0.9688 kB / 0.6921 GB, free: 12.83 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.4046, allocations: 0 / 0.6921 GB, free: 12.83 MB / 494.1 MB 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.0009128/0.4055, allocations: 0.7901 MB / 0.6928 GB, free: 12.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.4055, allocations: 9.625 kB / 0.6928 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.4068, allocations: 187.4 kB / 0.693 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006031/0.4075, allocations: 441.2 kB / 0.6934 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.4075, allocations: 27.8 kB / 0.6935 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.343e-05/0.4076, allocations: 34.08 kB / 0.6935 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007684/0.4083, allocations: 0.6496 MB / 0.6941 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.4084, allocations: 8.781 kB / 0.6941 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/0.4084, allocations: 26.64 kB / 0.6942 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.526e-05/0.4085, allocations: 55.22 kB / 0.6942 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006898/0.4092, allocations: 496.9 kB / 0.6947 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002423/0.4116, allocations: 3.782 MB / 0.6984 GB, free: 8.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.4133, allocations: 0.6295 MB / 0.699 GB, free: 8.516 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.4136, allocations: 178.5 kB / 0.6992 GB, free: 8.441 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.4136, allocations: 3.156 kB / 0.6992 GB, free: 8.441 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.4136, allocations: 41.89 kB / 0.6992 GB, free: 8.395 MB / 494.1 MB Notification: Performance of pre-optimization done (n=30): time 2.104e-06/0.4136, allocations: 5.25 kB / 0.6992 GB, free: 8.395 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001975/0.4156, allocations: 1.274 MB / 0.7005 GB, free: 7.664 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.4156, allocations: 106.9 kB / 0.7006 GB, free: 7.539 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000369/0.416, allocations: 395.2 kB / 0.701 GB, free: 7.344 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.416, allocations: 35.42 kB / 0.701 GB, free: 7.305 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.4162, allocations: 282.6 kB / 0.7013 GB, free: 7.074 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.923e-05/0.4163, allocations: 117 kB / 0.7014 GB, free: 6.988 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.4164, allocations: 104.2 kB / 0.7015 GB, free: 6.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.923e-05/0.4165, allocations: 354.7 kB / 0.7018 GB, free: 6.598 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.4167, allocations: 175.5 kB / 0.702 GB, free: 6.543 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/0.417, allocations: 376 kB / 0.7023 GB, free: 6.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005758/0.4176, allocations: 0.5947 MB / 0.7029 GB, free: 5.816 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4176, allocations: 2 kB / 0.7029 GB, free: 5.816 MB / 494.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009489/0.4186, allocations: 0.6668 MB / 0.7036 GB, free: 5.531 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.4186, allocations: 7.875 kB / 0.7036 GB, free: 5.531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.4186, allocations: 7.688 kB / 0.7036 GB, free: 5.531 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003064/0.4189, allocations: 103.5 kB / 0.7037 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.4193, allocations: 116 kB / 0.7038 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.4216, allocations: 4.339 MB / 0.708 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/0.4219, allocations: 30.09 kB / 0.7081 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.909e-05/0.4219, allocations: 24.62 kB / 0.7081 GB, free: 1.188 MB / 494.1 MB 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.0001672/0.4221, allocations: 204.3 kB / 0.7083 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.4222, allocations: 51.16 kB / 0.7083 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008056/0.423, allocations: 0.5192 MB / 0.7088 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.423, allocations: 4.281 kB / 0.7088 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.4231, allocations: 9.859 kB / 0.7088 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4231, allocations: 3.016 kB / 0.7088 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.4247, allocations: 1.288 MB / 0.7101 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4247, allocations: 3.797 kB / 0.7101 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.425, allocations: 63.48 kB / 0.7102 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002487/0.4252, allocations: 86.5 kB / 0.7102 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.4253, allocations: 17.06 kB / 0.7103 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003057/0.4283, allocations: 4.332 MB / 0.7145 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.4284, allocations: 7.781 kB / 0.7145 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008877/0.4293, allocations: 0.7764 MB / 0.7153 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.4295, allocations: 153.2 kB / 0.7154 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.791e-05/0.4295, allocations: 10.08 kB / 0.7154 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/0.4298, allocations: 20.7 kB / 0.7154 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.673e-05/0.4299, allocations: 39.94 kB / 0.7155 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.4299, allocations: 10.34 kB / 0.7155 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003082/0.4303, allocations: 285.5 kB / 0.7158 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4303, allocations: 0 / 0.7158 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006384/0.4309, allocations: 121.9 kB / 0.7159 GB, free: 10.77 MB / 0.4981 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.0001124/0.431, allocations: 108.3 kB / 0.716 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001209/0.4322, allocations: 0.8155 MB / 0.7168 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.4323, allocations: 1.594 kB / 0.7168 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006849/0.433, allocations: 0.5403 MB / 0.7173 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008576/0.4338, allocations: 141.3 kB / 0.7174 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.4351, allocations: 0.9057 MB / 0.7183 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004777/0.4356, allocations: 0.8577 MB / 0.7192 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002458/0.4359, allocations: 104.4 kB / 0.7193 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.636e-05/0.436, allocations: 36.25 kB / 0.7193 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.436, allocations: 0 / 0.7193 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of Templates: time 0.01007/0.446, allocations: 5.775 MB / 0.7249 GB, free: 7.656 MB / 0.4981 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)