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.004935/0.004935, allocations: 97.34 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.001115/0.001115, allocations: 195 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002059/0.002059, allocations: 285 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.9255/0.9255, allocations: 169.2 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 99.83 kB / 0.6815 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.4505, 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.006012/0.4566, allocations: 4.271 MB / 0.7706 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00338/0.46, allocations: 2.373 MB / 0.7729 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002278/0.4603, allocations: 19.88 kB / 0.7729 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.4614, allocations: 370.2 kB / 0.7732 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007489/0.4621, allocations: 370.2 kB / 0.7736 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006963/0.4628, allocations: 325.3 kB / 0.7739 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006094/0.4635, allocations: 0.6827 MB / 0.7746 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003807/0.4639, allocations: 269.5 kB / 0.7748 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002612/0.4641, allocations: 251.1 kB / 0.7751 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003285/0.4645, allocations: 266.8 kB / 0.7753 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.105e-05/0.4645, allocations: 32 kB / 0.7754 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006145/0.4651, allocations: 427 kB / 0.7758 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.4653, allocations: 147.5 kB / 0.7759 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002023/0.4655, allocations: 238.7 kB / 0.7761 GB, free: 9.879 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007627/0.4663, allocations: 0.7372 MB / 0.7769 GB, free: 9.145 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4663, allocations: 0 / 0.7769 GB, free: 9.145 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4663, allocations: 0 / 0.7769 GB, free: 9.145 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.4663, allocations: 0 / 0.7769 GB, free: 9.145 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.001036/0.4674, allocations: 0.8018 MB / 0.7776 GB, free: 8.293 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.4674, allocations: 12.03 kB / 0.7776 GB, free: 8.281 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.4687, allocations: 192.3 kB / 0.7778 GB, free: 8.094 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005475/0.4692, allocations: 436.8 kB / 0.7782 GB, free: 7.629 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.4693, allocations: 21.38 kB / 0.7783 GB, free: 7.605 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.665e-05/0.4693, allocations: 48.34 kB / 0.7783 GB, free: 7.559 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008147/0.4702, allocations: 0.6471 MB / 0.7789 GB, free: 6.828 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.4702, allocations: 7.938 kB / 0.779 GB, free: 6.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.074e-05/0.4702, allocations: 15.98 kB / 0.779 GB, free: 6.805 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-05/0.4703, allocations: 51.97 kB / 0.779 GB, free: 6.754 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006745/0.471, allocations: 497.8 kB / 0.7795 GB, free: 6.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002849/0.4739, allocations: 3.783 MB / 0.7832 GB, free: 2.227 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.4754, allocations: 0.6321 MB / 0.7838 GB, free: 1.566 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.4757, allocations: 182.5 kB / 0.784 GB, free: 1.379 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.4757, allocations: 8 kB / 0.784 GB, free: 1.371 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.4758, allocations: 38.5 kB / 0.784 GB, free: 1.324 MB / 0.545 GB Notification: Performance of pre-optimization done (n=30): time 3.627e-06/0.4758, allocations: 3.984 kB / 0.784 GB, free: 1.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.002078/0.4778, allocations: 1.289 MB / 0.7853 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.4779, allocations: 110.8 kB / 0.7854 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003689/0.4783, allocations: 401.8 kB / 0.7858 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.4783, allocations: 29.7 kB / 0.7858 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.4785, allocations: 292.1 kB / 0.7861 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.862e-05/0.4786, allocations: 119 kB / 0.7862 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.4787, allocations: 106.2 kB / 0.7863 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.4788, allocations: 348.5 kB / 0.7866 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.4791, allocations: 185 kB / 0.7868 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003556/0.4794, allocations: 379.2 kB / 0.7872 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006372/0.4801, allocations: 0.5835 MB / 0.7877 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.4801, allocations: 7.938 kB / 0.7877 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009768/0.4811, allocations: 0.6716 MB / 0.7884 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.4811, allocations: 8 kB / 0.7884 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.4811, allocations: 12.06 kB / 0.7884 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003285/0.4815, allocations: 98.44 kB / 0.7885 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003667/0.4818, allocations: 115.8 kB / 0.7886 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003348/0.4852, allocations: 4.348 MB / 0.7929 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.4855, allocations: 32.12 kB / 0.7929 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.4856, allocations: 24.94 kB / 0.7929 GB, free: 7.434 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.0002483/0.4858, allocations: 202.1 kB / 0.7931 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.486, allocations: 47.72 kB / 0.7932 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008578/0.4868, allocations: 0.5228 MB / 0.7937 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.4868, allocations: 4 kB / 0.7937 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.4868, allocations: 0 / 0.7937 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.4869, allocations: 7.922 kB / 0.7937 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.4884, allocations: 1.283 MB / 0.7949 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.4885, allocations: 4 kB / 0.7949 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.4887, allocations: 59.89 kB / 0.795 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002326/0.4889, allocations: 94.73 kB / 0.7951 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.489, allocations: 19.98 kB / 0.7951 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002821/0.4918, allocations: 4.332 MB / 0.7993 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.4918, allocations: 4 kB / 0.7993 GB, free: 320 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008283/0.4926, allocations: 0.7823 MB / 0.8001 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.4928, allocations: 152.8 kB / 0.8003 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.269e-05/0.4929, allocations: 8 kB / 0.8003 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/0.4932, allocations: 23.97 kB / 0.8003 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.4932, allocations: 31.84 kB / 0.8003 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.4932, allocations: 20 kB / 0.8003 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002579/0.4935, allocations: 275.1 kB / 0.8006 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4935, allocations: 0 / 0.8006 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006246/0.4941, allocations: 128 kB / 0.8007 GB, free: 14.84 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.0001302/0.4943, allocations: 115.1 kB / 0.8008 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00113/0.4954, allocations: 0.811 MB / 0.8016 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4954, allocations: 4.062 kB / 0.8016 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006545/0.4961, allocations: 0.5427 MB / 0.8022 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000887/0.497, allocations: 138.7 kB / 0.8023 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.4984, allocations: 0.911 MB / 0.8032 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.4988, allocations: 0.8624 MB / 0.804 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002561/0.4991, allocations: 108.5 kB / 0.8041 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.333e-05/0.4992, allocations: 39.36 kB / 0.8042 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.4992, allocations: 0 / 0.8042 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of Templates: time 0.01065/0.5098, allocations: 5.854 MB / 0.8099 GB, free: 5.348 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)