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.005216/0.005216, allocations: 101.4 kB / 15.73 MB, free: 5.492 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.00109/0.00109, allocations: 188.6 kB / 16.67 MB, free: 5.422 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002109/0.002109, allocations: 287.5 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 0.9313/0.9313, allocations: 169.2 MB / 0.4983 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 99.78 kB / 0.681 GB, free: 7.465 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3947, allocations: 86.97 MB / 0.7659 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006112/0.4009, allocations: 4.289 MB / 0.7701 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003917/0.4049, allocations: 2.365 MB / 0.7724 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004505/0.4053, allocations: 15.88 kB / 0.7724 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.4068, allocations: 382.2 kB / 0.7728 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.4083, allocations: 386.1 kB / 0.7731 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.4094, allocations: 315.2 kB / 0.7734 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00102/0.4104, allocations: 0.6866 MB / 0.7741 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005163/0.4109, allocations: 262 kB / 0.7744 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004355/0.4114, allocations: 259 kB / 0.7746 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005147/0.4119, allocations: 266.8 kB / 0.7749 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.378e-05/0.412, allocations: 32 kB / 0.7749 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009726/0.413, allocations: 431 kB / 0.7753 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002425/0.4133, allocations: 143.5 kB / 0.7754 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003297/0.4136, allocations: 238.8 kB / 0.7757 GB, free: 9.828 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.4149, allocations: 0.7397 MB / 0.7764 GB, free: 9.086 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.4149, allocations: 0 / 0.7764 GB, free: 9.086 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4149, allocations: 0 / 0.7764 GB, free: 9.086 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.08e-05/0.4149, allocations: 0 / 0.7764 GB, free: 9.086 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.001434/0.4163, allocations: 0.7755 MB / 0.7771 GB, free: 8.262 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.4164, allocations: 11.97 kB / 0.7772 GB, free: 8.25 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.732e-05/0.4165, allocations: 90.62 kB / 0.7772 GB, free: 8.152 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.4179, allocations: 184.1 kB / 0.7774 GB, free: 7.973 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006909/0.4186, allocations: 436.5 kB / 0.7778 GB, free: 7.508 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.4186, allocations: 29.36 kB / 0.7779 GB, free: 7.477 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.075e-05/0.4187, allocations: 32.38 kB / 0.7779 GB, free: 7.445 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009088/0.4196, allocations: 0.6508 MB / 0.7785 GB, free: 6.711 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.4197, allocations: 11.86 kB / 0.7785 GB, free: 6.699 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.4197, allocations: 19.98 kB / 0.7786 GB, free: 6.68 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.571e-05/0.4198, allocations: 51.97 kB / 0.7786 GB, free: 6.629 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007535/0.4206, allocations: 497.8 kB / 0.7791 GB, free: 6.145 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003292/0.4239, allocations: 3.786 MB / 0.7828 GB, free: 2.098 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.4255, allocations: 0.6283 MB / 0.7834 GB, free: 1.441 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.4258, allocations: 182.4 kB / 0.7836 GB, free: 1.254 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.4258, allocations: 8 kB / 0.7836 GB, free: 1.246 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.4259, allocations: 38.56 kB / 0.7836 GB, free: 1.199 MB / 0.545 GB Notification: Performance of pre-optimization done (n=30): time 2.154e-06/0.4259, allocations: 0 / 0.7836 GB, free: 1.199 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.002224/0.4281, allocations: 1.273 MB / 0.7849 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/0.4282, allocations: 110.8 kB / 0.785 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003969/0.4286, allocations: 398.3 kB / 0.7853 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.4286, allocations: 33.7 kB / 0.7854 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.4288, allocations: 275.5 kB / 0.7856 GB, free: 15 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.654e-05/0.4289, allocations: 122.3 kB / 0.7858 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.429, allocations: 102.1 kB / 0.7859 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.4292, allocations: 354.8 kB / 0.7862 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/0.4295, allocations: 181 kB / 0.7864 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004059/0.4299, allocations: 375.2 kB / 0.7867 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007306/0.4306, allocations: 0.5951 MB / 0.7873 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.4306, allocations: 4 kB / 0.7873 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001107/0.4317, allocations: 0.6713 MB / 0.788 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.4318, allocations: 11.98 kB / 0.788 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.4318, allocations: 9 kB / 0.788 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003573/0.4322, allocations: 98.45 kB / 0.7881 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/0.4326, allocations: 115.8 kB / 0.7882 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003405/0.436, allocations: 4.344 MB / 0.7924 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.4363, allocations: 32.12 kB / 0.7925 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/0.4364, allocations: 24 kB / 0.7925 GB, free: 7.34 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.0002433/0.4366, allocations: 198.1 kB / 0.7927 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.4367, allocations: 43.44 kB / 0.7927 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008921/0.4376, allocations: 0.5153 MB / 0.7932 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.4377, allocations: 4 kB / 0.7932 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.4377, allocations: 4 kB / 0.7932 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.4377, allocations: 3.984 kB / 0.7932 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/0.4396, allocations: 1.291 MB / 0.7945 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.4396, allocations: 4 kB / 0.7945 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.4398, allocations: 59.89 kB / 0.7946 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002677/0.4401, allocations: 98.72 kB / 0.7946 GB, free: 5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/0.4401, allocations: 12 kB / 0.7947 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00344/0.4436, allocations: 4.332 MB / 0.7989 GB, free: 240 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.4436, allocations: 4.219 kB / 0.7989 GB, free: 236 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009135/0.4445, allocations: 0.7827 MB / 0.7997 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000193/0.4447, allocations: 152.5 kB / 0.7998 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.037e-05/0.4448, allocations: 8 kB / 0.7998 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003063/0.4451, allocations: 23.97 kB / 0.7998 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.793e-05/0.4452, allocations: 35.84 kB / 0.7999 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.4452, allocations: 20 kB / 0.7999 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003179/0.4455, allocations: 275.1 kB / 0.8001 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4456, allocations: 0 / 0.8001 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007282/0.4463, allocations: 124 kB / 0.8003 GB, free: 14.75 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.001331/0.4476, allocations: 1.324 MB / 0.8016 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001326/0.449, allocations: 0.8094 MB / 0.8023 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.449, allocations: 0 / 0.8023 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007373/0.4497, allocations: 0.5519 MB / 0.8029 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009056/0.4506, allocations: 136.7 kB / 0.803 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005684/0.4563, allocations: 4.542 MB / 0.8075 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/0.4568, allocations: 0.8664 MB / 0.8083 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002702/0.4571, allocations: 100.5 kB / 0.8084 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.4573, allocations: 155.4 kB / 0.8085 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.4573, allocations: 7.938 kB / 0.8086 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03473/0.492, allocations: 10.04 MB / 0.8184 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.637/10.13, allocations: 7.312 kB / 0.8184 GB, free: 11.97 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)