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.001019/0.001019, allocations: 109.1 kB / 16.37 MB, free: 6.477 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.0009715/0.0009716, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.28/1.28, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002199/0.002199, allocations: 283 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9003/0.9003, allocations: 169.3 MB / 0.4989 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 90.61 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1605, allocations: 86.97 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005844/0.1664, allocations: 4.271 MB / 0.6858 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003575/0.17, allocations: 2.373 MB / 0.6881 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002926/0.1703, allocations: 19.88 kB / 0.6881 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.1714, allocations: 370.2 kB / 0.6885 GB, free: 420 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007776/0.1722, allocations: 370.1 kB / 0.6888 GB, free: 48 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2844/0.4566, allocations: 310.4 kB / 0.6891 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.4577, allocations: 0.6764 MB / 0.6898 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005562/0.4583, allocations: 274.2 kB / 0.69 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005636/0.4589, allocations: 255.9 kB / 0.6903 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006314/0.4595, allocations: 272.1 kB / 0.6906 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.4597, allocations: 30.03 kB / 0.6906 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009212/0.4606, allocations: 428.9 kB / 0.691 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.4608, allocations: 142.7 kB / 0.6911 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002418/0.461, allocations: 239 kB / 0.6914 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009306/0.462, allocations: 0.7305 MB / 0.6921 GB, free: 12.85 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.462, allocations: 2.062 kB / 0.6921 GB, free: 12.85 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.462, allocations: 3.281 kB / 0.6921 GB, free: 12.85 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.462, allocations: 3.188 kB / 0.6921 GB, free: 12.85 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.0009696/0.463, allocations: 0.7855 MB / 0.6928 GB, free: 12.3 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.463, allocations: 9.688 kB / 0.6929 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/0.4643, allocations: 186.3 kB / 0.693 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006044/0.4649, allocations: 440.1 kB / 0.6934 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.465, allocations: 26.36 kB / 0.6935 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.852e-05/0.465, allocations: 32.59 kB / 0.6935 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009002/0.4659, allocations: 0.6493 MB / 0.6941 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.466, allocations: 14.23 kB / 0.6942 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.506e-05/0.466, allocations: 18.02 kB / 0.6942 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.108e-05/0.4661, allocations: 56.69 kB / 0.6942 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000819/0.4669, allocations: 498 kB / 0.6947 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002984/0.4699, allocations: 3.783 MB / 0.6984 GB, free: 8.691 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/0.4718, allocations: 0.6371 MB / 0.699 GB, free: 8.52 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002887/0.4721, allocations: 178.6 kB / 0.6992 GB, free: 8.445 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/0.4721, allocations: 2.812 kB / 0.6992 GB, free: 8.445 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.4722, allocations: 39.33 kB / 0.6992 GB, free: 8.406 MB / 494.1 MB Notification: Performance of pre-optimization done (n=30): time 1.743e-06/0.4722, allocations: 0 / 0.6992 GB, free: 8.406 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.002571/0.4748, allocations: 1.273 MB / 0.7005 GB, free: 7.676 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.4748, allocations: 107.2 kB / 0.7006 GB, free: 7.551 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000556/0.4754, allocations: 403.9 kB / 0.701 GB, free: 7.352 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.4754, allocations: 31.11 kB / 0.701 GB, free: 7.316 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.4756, allocations: 290 kB / 0.7013 GB, free: 7.078 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.4757, allocations: 114 kB / 0.7014 GB, free: 6.992 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.4759, allocations: 100.9 kB / 0.7015 GB, free: 6.938 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.476, allocations: 354.8 kB / 0.7018 GB, free: 6.605 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003036/0.4763, allocations: 174.1 kB / 0.702 GB, free: 6.551 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004473/0.4768, allocations: 378.7 kB / 0.7023 GB, free: 6.238 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007419/0.4775, allocations: 0.585 MB / 0.7029 GB, free: 5.836 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.4776, allocations: 2.656 kB / 0.7029 GB, free: 5.836 MB / 494.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001145/0.4787, allocations: 0.6787 MB / 0.7036 GB, free: 5.566 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.4787, allocations: 7.844 kB / 0.7036 GB, free: 5.566 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.4788, allocations: 7.25 kB / 0.7036 GB, free: 5.566 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004047/0.4792, allocations: 90.52 kB / 0.7037 GB, free: 5.531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004403/0.4796, allocations: 122.8 kB / 0.7038 GB, free: 5.512 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003135/0.4828, allocations: 4.348 MB / 0.708 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000469/0.4833, allocations: 31.59 kB / 0.7081 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.813e-05/0.4833, allocations: 24.44 kB / 0.7081 GB, free: 1.223 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.0003601/0.4837, allocations: 198 kB / 0.7083 GB, free: 1.062 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.4838, allocations: 51.55 kB / 0.7083 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.4849, allocations: 0.5167 MB / 0.7088 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.4849, allocations: 4.875 kB / 0.7088 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4849, allocations: 1.812 kB / 0.7088 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.4849, allocations: 2.984 kB / 0.7088 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/0.4868, allocations: 1.288 MB / 0.7101 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.4868, allocations: 6.5 kB / 0.7101 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.4871, allocations: 60.77 kB / 0.7102 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002793/0.4874, allocations: 88.5 kB / 0.7102 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.4874, allocations: 14.33 kB / 0.7103 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003107/0.4905, allocations: 4.338 MB / 0.7145 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/0.4906, allocations: 11.94 kB / 0.7145 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009657/0.4915, allocations: 0.7758 MB / 0.7153 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/0.4918, allocations: 148.7 kB / 0.7154 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.776e-05/0.4918, allocations: 13.38 kB / 0.7154 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/0.4921, allocations: 21.17 kB / 0.7154 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.028e-05/0.4922, allocations: 39.48 kB / 0.7155 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.4923, allocations: 14.95 kB / 0.7155 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003413/0.4926, allocations: 277 kB / 0.7158 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4926, allocations: 0 / 0.7158 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007459/0.4934, allocations: 121.5 kB / 0.7159 GB, free: 10.8 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.000144/0.4935, allocations: 115.9 kB / 0.716 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001268/0.4948, allocations: 0.8134 MB / 0.7168 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4948, allocations: 0 / 0.7168 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007052/0.4955, allocations: 0.5449 MB / 0.7173 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000889/0.4964, allocations: 135.8 kB / 0.7174 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.4979, allocations: 0.8939 MB / 0.7183 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004773/0.4983, allocations: 0.8645 MB / 0.7192 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002761/0.4986, allocations: 105.7 kB / 0.7193 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.635e-05/0.4987, allocations: 38.48 kB / 0.7193 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.4987, allocations: 1.188 kB / 0.7193 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of Templates: time 0.01193/0.5107, allocations: 5.774 MB / 0.7249 GB, free: 7.707 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)