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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0069/0.0069, allocations: 99.7 kB / 15.73 MB, free: 6.004 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.00182/0.00182, allocations: 192.6 kB / 16.67 MB, free: 5.922 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.545/1.545, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002533/0.002533, allocations: 296.2 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.022/1.022, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002851/0.002851, allocations: 91.86 kB / 0.681 GB, free: 7.441 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4059, allocations: 86.98 MB / 0.7659 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006335/0.4122, allocations: 4.271 MB / 0.7701 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004033/0.4163, allocations: 2.385 MB / 0.7724 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002944/0.4166, allocations: 15.88 kB / 0.7724 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.4178, allocations: 370.2 kB / 0.7728 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009194/0.4187, allocations: 370.2 kB / 0.7731 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000788/0.4195, allocations: 323.2 kB / 0.7734 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009287/0.4205, allocations: 0.6827 MB / 0.7741 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004668/0.421, allocations: 257.8 kB / 0.7744 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004192/0.4214, allocations: 255 kB / 0.7746 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004487/0.4218, allocations: 274.9 kB / 0.7749 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.934e-05/0.4219, allocations: 28 kB / 0.7749 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007273/0.4226, allocations: 427 kB / 0.7753 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.4228, allocations: 139.5 kB / 0.7754 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002756/0.4231, allocations: 246.7 kB / 0.7757 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.4242, allocations: 0.7328 MB / 0.7764 GB, free: 9.078 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4242, allocations: 0 / 0.7764 GB, free: 9.078 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4242, allocations: 0 / 0.7764 GB, free: 9.078 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.167e-05/0.4242, allocations: 0 / 0.7764 GB, free: 9.078 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.001307/0.4255, allocations: 0.8018 MB / 0.7772 GB, free: 8.227 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.4256, allocations: 12.03 kB / 0.7772 GB, free: 8.215 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001049/0.4257, allocations: 82.69 kB / 0.7772 GB, free: 8.125 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/0.427, allocations: 184.4 kB / 0.7774 GB, free: 7.945 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006633/0.4277, allocations: 448.7 kB / 0.7779 GB, free: 7.469 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.4277, allocations: 25.36 kB / 0.7779 GB, free: 7.441 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.888e-05/0.4278, allocations: 32.38 kB / 0.7779 GB, free: 7.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009497/0.4288, allocations: 0.6508 MB / 0.7785 GB, free: 6.676 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.4288, allocations: 7.938 kB / 0.7785 GB, free: 6.668 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.355e-05/0.4289, allocations: 15.98 kB / 0.7786 GB, free: 6.652 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.344e-05/0.4289, allocations: 51.95 kB / 0.7786 GB, free: 6.602 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008092/0.4298, allocations: 0.4915 MB / 0.7791 GB, free: 6.109 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003624/0.4334, allocations: 3.79 MB / 0.7828 GB, free: 2.059 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.4351, allocations: 0.6321 MB / 0.7834 GB, free: 1.398 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.4354, allocations: 182.5 kB / 0.7836 GB, free: 1.211 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.4354, allocations: 4 kB / 0.7836 GB, free: 1.207 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.4354, allocations: 38.5 kB / 0.7836 GB, free: 1.16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=30): time 1.784e-06/0.4355, allocations: 0 / 0.7836 GB, free: 1.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.002339/0.4378, allocations: 1.283 MB / 0.7849 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.704e-05/0.4379, allocations: 106.8 kB / 0.785 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004465/0.4383, allocations: 405.7 kB / 0.7854 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.4384, allocations: 33.7 kB / 0.7854 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.4386, allocations: 292.1 kB / 0.7857 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.4387, allocations: 126.9 kB / 0.7858 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.4389, allocations: 98.2 kB / 0.7859 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.439, allocations: 354.8 kB / 0.7862 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002759/0.4393, allocations: 177 kB / 0.7864 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004402/0.4398, allocations: 387.2 kB / 0.7868 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000759/0.4405, allocations: 0.5835 MB / 0.7873 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.4406, allocations: 0 / 0.7873 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001131/0.4417, allocations: 0.6792 MB / 0.788 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.4417, allocations: 8.281 kB / 0.788 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.4417, allocations: 8 kB / 0.788 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003393/0.4421, allocations: 94.44 kB / 0.7881 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/0.4425, allocations: 115.8 kB / 0.7882 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003757/0.4463, allocations: 4.356 MB / 0.7925 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.4466, allocations: 35.97 kB / 0.7925 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/0.4467, allocations: 24 kB / 0.7925 GB, free: 7.266 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.0002403/0.4469, allocations: 198.5 kB / 0.7927 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.447, allocations: 47.78 kB / 0.7928 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009294/0.448, allocations: 0.5229 MB / 0.7933 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.448, allocations: 4 kB / 0.7933 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.448, allocations: 0 / 0.7933 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.448, allocations: 7.938 kB / 0.7933 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.45, allocations: 1.276 MB / 0.7945 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.45, allocations: 4 kB / 0.7945 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/0.4503, allocations: 72.17 kB / 0.7946 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002645/0.4506, allocations: 82.52 kB / 0.7947 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.4506, allocations: 12 kB / 0.7947 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003729/0.4543, allocations: 4.34 MB / 0.7989 GB, free: 164 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.4543, allocations: 4 kB / 0.7989 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009988/0.4553, allocations: 0.7786 MB / 0.7997 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002016/0.4556, allocations: 157 kB / 0.7998 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.455e-05/0.4556, allocations: 16 kB / 0.7999 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/0.456, allocations: 19.97 kB / 0.7999 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.4561, allocations: 43.78 kB / 0.7999 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.4561, allocations: 8 kB / 0.7999 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003267/0.4564, allocations: 283.1 kB / 0.8002 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4564, allocations: 0 / 0.8002 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008727/0.4573, allocations: 120 kB / 0.8003 GB, free: 14.67 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.00137/0.4587, allocations: 1.332 MB / 0.8016 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001293/0.46, allocations: 0.7985 MB / 0.8024 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.46, allocations: 4.062 kB / 0.8024 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007789/0.4608, allocations: 0.5465 MB / 0.8029 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.4619, allocations: 136.7 kB / 0.8031 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00604/0.4679, allocations: 4.563 MB / 0.8075 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005588/0.4685, allocations: 0.8547 MB / 0.8084 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002739/0.4688, allocations: 108.5 kB / 0.8085 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.469, allocations: 159.4 kB / 0.8086 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/0.469, allocations: 0 / 0.8086 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0459/0.5149, allocations: 10.05 MB / 0.8184 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.2, allocations: 9.188 kB / 0.8184 GB, free: 11.87 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)