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.004192/0.004192, allocations: 102 kB / 15.73 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.001045/0.001045, allocations: 194.6 kB / 16.68 MB, free: 6.375 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002123/0.002123, allocations: 283.1 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9427/0.9427, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 99.84 kB / 0.6814 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1469, allocations: 86.97 MB / 0.7664 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005358/0.1523, allocations: 4.279 MB / 0.7706 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003541/0.1558, allocations: 2.369 MB / 0.7729 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003306/0.1562, allocations: 15.88 kB / 0.7729 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.1573, allocations: 374.2 kB / 0.7732 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009014/0.1583, allocations: 390.2 kB / 0.7736 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007338/0.159, allocations: 326.3 kB / 0.7739 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.2988/0.4578, allocations: 0.6799 MB / 0.7746 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005837/0.4584, allocations: 265.5 kB / 0.7748 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004894/0.4589, allocations: 257.2 kB / 0.7751 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003724/0.4593, allocations: 266.9 kB / 0.7753 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.594e-05/0.4594, allocations: 29.25 kB / 0.7754 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007553/0.4602, allocations: 430.4 kB / 0.7758 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.4603, allocations: 146.4 kB / 0.7759 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.4605, allocations: 237.1 kB / 0.7762 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008446/0.4614, allocations: 0.73 MB / 0.7769 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.4614, allocations: 0.7812 kB / 0.7769 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4614, allocations: 0 / 0.7769 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.4614, allocations: 1.656 kB / 0.7769 GB, free: 8.891 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0009941/0.4624, allocations: 0.7945 MB / 0.7776 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.4625, allocations: 10.58 kB / 0.7777 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.4638, allocations: 181.4 kB / 0.7778 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000513/0.4643, allocations: 440.1 kB / 0.7782 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.4643, allocations: 27.41 kB / 0.7783 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.088e-05/0.4644, allocations: 35.48 kB / 0.7783 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007701/0.4652, allocations: 0.6506 MB / 0.7789 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.4652, allocations: 7.359 kB / 0.7789 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.164e-05/0.4652, allocations: 16.83 kB / 0.779 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.731e-05/0.4653, allocations: 51.72 kB / 0.779 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007072/0.466, allocations: 0.4928 MB / 0.7795 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002333/0.4684, allocations: 3.779 MB / 0.7832 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.4699, allocations: 0.6379 MB / 0.7838 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.4701, allocations: 181 kB / 0.784 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.4702, allocations: 3.562 kB / 0.784 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.4702, allocations: 35.66 kB / 0.784 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.4702, allocations: 0 / 0.784 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002054/0.4723, allocations: 1.274 MB / 0.7853 GB, free: 20.08 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.618e-05/0.4724, allocations: 110.4 kB / 0.7854 GB, free: 19.96 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/0.4727, allocations: 402.1 kB / 0.7858 GB, free: 19.82 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.4728, allocations: 37.33 kB / 0.7858 GB, free: 19.79 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.4729, allocations: 281.2 kB / 0.7861 GB, free: 19.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.973e-05/0.473, allocations: 118.1 kB / 0.7862 GB, free: 19.51 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.4731, allocations: 97.84 kB / 0.7863 GB, free: 19.46 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.4732, allocations: 358.8 kB / 0.7866 GB, free: 19.13 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.4735, allocations: 172.9 kB / 0.7868 GB, free: 19.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.4737, allocations: 381.3 kB / 0.7871 GB, free: 18.76 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005288/0.4743, allocations: 0.5863 MB / 0.7877 GB, free: 18.36 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4743, allocations: 0 / 0.7877 GB, free: 18.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009395/0.4752, allocations: 0.6837 MB / 0.7884 GB, free: 18.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.4753, allocations: 7.438 kB / 0.7884 GB, free: 18.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.4753, allocations: 5.844 kB / 0.7884 GB, free: 18.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003122/0.4756, allocations: 94.41 kB / 0.7885 GB, free: 18.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/0.476, allocations: 116.7 kB / 0.7886 GB, free: 18.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0031/0.4791, allocations: 4.347 MB / 0.7928 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/0.4794, allocations: 31 kB / 0.7929 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.4794, allocations: 25.06 kB / 0.7929 GB, free: 13.79 MB / 0.5762 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.0001982/0.4796, allocations: 196.8 kB / 0.7931 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.736e-05/0.4797, allocations: 46.69 kB / 0.7931 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007925/0.4805, allocations: 0.5208 MB / 0.7936 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.4805, allocations: 5.219 kB / 0.7936 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.4805, allocations: 0 / 0.7936 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.4806, allocations: 4.406 kB / 0.7936 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.4821, allocations: 1.292 MB / 0.7949 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4821, allocations: 2.75 kB / 0.7949 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.4823, allocations: 69.34 kB / 0.795 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002274/0.4826, allocations: 92.81 kB / 0.7951 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.4826, allocations: 10.58 kB / 0.7951 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002923/0.4855, allocations: 4.326 MB / 0.7993 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.4855, allocations: 9.391 kB / 0.7993 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007682/0.4863, allocations: 0.781 MB / 0.8001 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.4865, allocations: 152.7 kB / 0.8002 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.909e-05/0.4865, allocations: 10.84 kB / 0.8002 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.4868, allocations: 21.55 kB / 0.8002 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.4869, allocations: 42.33 kB / 0.8003 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.4869, allocations: 10.06 kB / 0.8003 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002665/0.4872, allocations: 283 kB / 0.8006 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4872, allocations: 0 / 0.8006 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005936/0.4878, allocations: 121.7 kB / 0.8007 GB, free: 7.465 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.0001143/0.4879, allocations: 113.6 kB / 0.8008 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00108/0.489, allocations: 0.8055 MB / 0.8016 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.489, allocations: 0 / 0.8016 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006645/0.4897, allocations: 0.5476 MB / 0.8021 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008427/0.4905, allocations: 127.7 kB / 0.8022 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.4919, allocations: 0.9117 MB / 0.8031 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/0.4923, allocations: 0.8652 MB / 0.804 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002559/0.4926, allocations: 97.27 kB / 0.8041 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.277e-05/0.4927, allocations: 44.75 kB / 0.8041 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of SimCode: time 2.01e-07/0.4927, allocations: 0 / 0.8041 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of Templates: time 0.01207/0.5048, allocations: 5.856 MB / 0.8098 GB, free: 4.848 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)