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.004206/0.004206, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001019/0.001019, allocations: 197.3 kB / 16.68 MB, free: 5.969 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.267/1.267, 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.002043/0.002043, allocations: 296.4 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9077/0.9077, allocations: 169.2 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 103.8 kB / 0.6815 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4171, allocations: 86.97 MB / 0.7664 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005085/0.4222, allocations: 4.275 MB / 0.7706 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0031/0.4253, allocations: 2.373 MB / 0.7729 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.4255, allocations: 19.88 kB / 0.7729 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000977/0.4265, allocations: 362.3 kB / 0.7732 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006284/0.4271, allocations: 390.1 kB / 0.7736 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005851/0.4277, allocations: 322.1 kB / 0.7739 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006013/0.4284, allocations: 0.6827 MB / 0.7746 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003651/0.4287, allocations: 269.4 kB / 0.7748 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00028/0.429, allocations: 259 kB / 0.7751 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003049/0.4293, allocations: 274.8 kB / 0.7754 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.394e-05/0.4294, allocations: 28 kB / 0.7754 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005389/0.4299, allocations: 431 kB / 0.7758 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.4301, allocations: 139.6 kB / 0.7759 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002094/0.4303, allocations: 238.7 kB / 0.7762 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007077/0.431, allocations: 0.7344 MB / 0.7769 GB, free: 9.125 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.431, allocations: 0 / 0.7769 GB, free: 9.125 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.062e-06/0.431, allocations: 0 / 0.7769 GB, free: 9.125 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.431, allocations: 3.984 kB / 0.7769 GB, free: 9.121 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.001011/0.4321, allocations: 0.7832 MB / 0.7776 GB, free: 8.289 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.4321, allocations: 12.03 kB / 0.7776 GB, free: 8.277 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/0.4334, allocations: 184.1 kB / 0.7778 GB, free: 8.098 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000542/0.434, allocations: 444.4 kB / 0.7782 GB, free: 7.625 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.434, allocations: 29.36 kB / 0.7783 GB, free: 7.594 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.017e-05/0.434, allocations: 28.38 kB / 0.7783 GB, free: 7.566 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000806/0.4349, allocations: 0.6549 MB / 0.7789 GB, free: 6.828 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.4349, allocations: 4 kB / 0.7789 GB, free: 6.824 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.336e-05/0.4349, allocations: 19.98 kB / 0.779 GB, free: 6.805 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-05/0.435, allocations: 51.91 kB / 0.779 GB, free: 6.754 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000698/0.4357, allocations: 0.49 MB / 0.7795 GB, free: 6.266 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00287/0.4386, allocations: 3.786 MB / 0.7832 GB, free: 2.219 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/0.4402, allocations: 0.6322 MB / 0.7838 GB, free: 1.559 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.4405, allocations: 182.4 kB / 0.784 GB, free: 1.371 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.4405, allocations: 4 kB / 0.784 GB, free: 1.367 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.4405, allocations: 34.56 kB / 0.784 GB, free: 1.324 MB / 0.545 GB Notification: Performance of pre-optimization done (n=30): time 1.503e-06/0.4405, allocations: 0 / 0.784 GB, free: 1.324 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.002054/0.4426, allocations: 1.281 MB / 0.7853 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.4427, allocations: 110.8 kB / 0.7854 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.4431, allocations: 397.7 kB / 0.7858 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.4431, allocations: 41.69 kB / 0.7858 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.4433, allocations: 275.5 kB / 0.7861 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.346e-05/0.4433, allocations: 118.3 kB / 0.7862 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.4435, allocations: 94.16 kB / 0.7863 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.4436, allocations: 354.8 kB / 0.7866 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.4439, allocations: 173 kB / 0.7868 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003622/0.4442, allocations: 383.2 kB / 0.7871 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006448/0.4449, allocations: 0.5912 MB / 0.7877 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.4449, allocations: 3.938 kB / 0.7877 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009847/0.4459, allocations: 0.679 MB / 0.7884 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.4459, allocations: 10.34 kB / 0.7884 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4459, allocations: 4 kB / 0.7884 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003115/0.4462, allocations: 102.4 kB / 0.7885 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.4466, allocations: 111.8 kB / 0.7886 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003067/0.4497, allocations: 4.348 MB / 0.7928 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.45, allocations: 31.97 kB / 0.7929 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.45, allocations: 24 kB / 0.7929 GB, free: 7.461 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.0001942/0.4502, allocations: 194.3 kB / 0.7931 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.4504, allocations: 55.42 kB / 0.7931 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008199/0.4512, allocations: 0.5112 MB / 0.7936 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.4512, allocations: 4 kB / 0.7936 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4512, allocations: 4 kB / 0.7936 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.4512, allocations: 3.984 kB / 0.7936 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.4529, allocations: 1.295 MB / 0.7949 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4529, allocations: 0 / 0.7949 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.4531, allocations: 68.17 kB / 0.795 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002358/0.4534, allocations: 90.5 kB / 0.7951 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.4534, allocations: 12 kB / 0.7951 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003067/0.4565, allocations: 4.332 MB / 0.7993 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4565, allocations: 4.031 kB / 0.7993 GB, free: 356 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009026/0.4574, allocations: 0.7789 MB / 0.8001 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.4576, allocations: 156.5 kB / 0.8002 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.785e-05/0.4576, allocations: 8 kB / 0.8002 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002988/0.458, allocations: 19.97 kB / 0.8002 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.349e-05/0.458, allocations: 43.84 kB / 0.8003 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.4581, allocations: 11.98 kB / 0.8003 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003049/0.4584, allocations: 283.1 kB / 0.8006 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4584, allocations: 0 / 0.8006 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006127/0.459, allocations: 120 kB / 0.8007 GB, free: 14.87 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.0001566/0.4592, allocations: 119.2 kB / 0.8008 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.4604, allocations: 0.8015 MB / 0.8016 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4604, allocations: 4 kB / 0.8016 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006798/0.4611, allocations: 0.5403 MB / 0.8021 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008969/0.462, allocations: 134 kB / 0.8022 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.4633, allocations: 0.9018 MB / 0.8031 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.4638, allocations: 0.8624 MB / 0.804 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002442/0.4641, allocations: 108.5 kB / 0.8041 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.059e-05/0.4642, allocations: 39.44 kB / 0.8041 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of SimCode: time 3.897e-06/0.4642, allocations: 0 / 0.8041 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.01033/0.4745, allocations: 5.859 MB / 0.8098 GB, free: 5.398 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)