Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.001379, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002058/0.002058, allocations: 190 kB / 16.25 MB, free: 6.629 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.487/1.487, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002543/0.002543, allocations: 285.5 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.121/1.121, allocations: 178.6 MB / 0.507 GB, free: 4.707 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002851/0.002851, allocations: 96.39 kB / 0.6059 GB, free: 24.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1929, allocations: 89.14 MB / 0.693 GB, free: 4.688 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.0222/0.2151, allocations: 16.32 MB / 0.7089 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01023/0.2254, allocations: 5.676 MB / 0.7145 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.2267, allocations: 35.94 kB / 0.7145 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004201/0.2309, allocations: 1.449 MB / 0.7159 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002282/0.2332, allocations: 0.7592 MB / 0.7167 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002783/0.236, allocations: 0.9699 MB / 0.7176 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00479/0.2408, allocations: 3.91 MB / 0.7214 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01047/0.2513, allocations: 6.852 MB / 0.7281 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00296/0.2543, allocations: 1.753 MB / 0.7298 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003712/0.258, allocations: 2.209 MB / 0.732 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006706/0.2587, allocations: 416 kB / 0.7324 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/0.2608, allocations: 1.073 MB / 0.7334 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00196/0.2627, allocations: 1.649 MB / 0.735 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002252/0.265, allocations: 1.607 MB / 0.7366 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007049/0.2721, allocations: 6.07 MB / 0.7425 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.2721, allocations: 0 / 0.7425 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2721, allocations: 0 / 0.7425 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001694/0.2723, allocations: 0 / 0.7425 GB, free: 1.75 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.007277/0.2796, allocations: 2.763 MB / 0.7452 GB, free: 14.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.2796, allocations: 20.02 kB / 0.7453 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003517/0.2832, allocations: 0.6574 MB / 0.7459 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00292/0.2861, allocations: 1.423 MB / 0.7473 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/0.2863, allocations: 210 kB / 0.7475 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005183/0.2868, allocations: 272.4 kB / 0.7477 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009851/0.2967, allocations: 4.715 MB / 0.7523 GB, free: 7.508 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.562e-05/0.2968, allocations: 3.938 kB / 0.7524 GB, free: 7.504 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003864/0.2972, allocations: 112 kB / 0.7525 GB, free: 7.395 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000208/0.2974, allocations: 156.6 kB / 0.7526 GB, free: 7.238 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007854/0.3053, allocations: 4.089 MB / 0.7566 GB, free: 3.133 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2938/0.5991, allocations: 20.28 MB / 0.7764 GB, free: 49.49 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00339/0.6025, allocations: 1.905 MB / 0.7783 GB, free: 48.4 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.6038, allocations: 0.7588 MB / 0.779 GB, free: 48.12 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001454/0.6039, allocations: 106.8 kB / 0.7791 GB, free: 48.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.604, allocations: 44.36 kB / 0.7791 GB, free: 47.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=77): time 2.835e-06/0.604, allocations: 3.25 kB / 0.7792 GB, free: 47.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=92): time 0.01854/0.6225, allocations: 5.172 MB / 0.7842 GB, free: 45.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.6226, allocations: 144.3 kB / 0.7843 GB, free: 45.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.6238, allocations: 0.9798 MB / 0.7853 GB, free: 45.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.005e-05/0.6239, allocations: 41.45 kB / 0.7853 GB, free: 45.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005793/0.6245, allocations: 1.184 MB / 0.7865 GB, free: 44.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/0.6248, allocations: 331.3 kB / 0.7868 GB, free: 44.15 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005025/0.6253, allocations: 356.4 kB / 0.7871 GB, free: 43.99 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.479e-05/0.6253, allocations: 330.7 kB / 0.7875 GB, free: 43.67 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.6266, allocations: 0.874 MB / 0.7883 GB, free: 43.35 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/0.6281, allocations: 1.509 MB / 0.7898 GB, free: 42.21 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00276/0.6309, allocations: 2.455 MB / 0.7922 GB, free: 40.58 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/0.6309, allocations: 6.516 kB / 0.7922 GB, free: 40.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003607/0.6345, allocations: 2.506 MB / 0.7946 GB, free: 39.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.422e-05/0.6346, allocations: 17.69 kB / 0.7947 GB, free: 39.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.674e-05/0.6346, allocations: 21.47 kB / 0.7947 GB, free: 39.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.546e-05/0.6347, allocations: 30.56 kB / 0.7947 GB, free: 39.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002449/0.6372, allocations: 0.5204 MB / 0.7952 GB, free: 39.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.004e-05/0.6372, allocations: 48.05 kB / 0.7953 GB, free: 39.53 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.6384, allocations: 155.1 kB / 0.7954 GB, free: 39.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.6386, allocations: 93.39 kB / 0.7955 GB, free: 39.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002423/0.641, allocations: 1.898 MB / 0.7974 GB, free: 38.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001334/0.6423, allocations: 1.5 MB / 0.7988 GB, free: 37.04 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002499/0.6449, allocations: 2.434 MB / 0.8012 GB, free: 35.19 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.352e-05/0.6449, allocations: 6.406 kB / 0.8012 GB, free: 35.19 MB / 0.545 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.00353/0.6484, allocations: 2.483 MB / 0.8036 GB, free: 33.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.6484, allocations: 13.97 kB / 0.8036 GB, free: 33.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.599e-05/0.6485, allocations: 22.94 kB / 0.8037 GB, free: 33.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.326e-05/0.6485, allocations: 35.66 kB / 0.8037 GB, free: 33.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002372/0.6509, allocations: 0.511 MB / 0.8042 GB, free: 33.76 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-05/0.6509, allocations: 51.09 kB / 0.8042 GB, free: 33.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.6521, allocations: 141.4 kB / 0.8044 GB, free: 33.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/0.6522, allocations: 88.03 kB / 0.8045 GB, free: 33.65 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (211): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003917/0.6526, allocations: 295.3 kB / 0.8047 GB, free: 33.38 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/0.6528, allocations: 97.72 kB / 0.8048 GB, free: 33.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002482/0.6553, allocations: 1.836 MB / 0.8066 GB, free: 32.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.6553, allocations: 9.844 kB / 0.8066 GB, free: 32.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.6554, allocations: 5.406 kB / 0.8066 GB, free: 32.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.6554, allocations: 5.516 kB / 0.8066 GB, free: 32.16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008279/0.6636, allocations: 9.056 MB / 0.8155 GB, free: 24.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/0.6637, allocations: 10.25 kB / 0.8155 GB, free: 24.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.6647, allocations: 248.6 kB / 0.8157 GB, free: 24.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-05/0.6647, allocations: 14.78 kB / 0.8158 GB, free: 24.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.945e-05/0.6648, allocations: 33.92 kB / 0.8158 GB, free: 24.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.178e-05/0.6648, allocations: 18.41 kB / 0.8158 GB, free: 24.46 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/0.6648, allocations: 16 kB / 0.8158 GB, free: 24.45 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.6663, allocations: 1.776 MB / 0.8176 GB, free: 23.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/0.6667, allocations: 289.2 kB / 0.8178 GB, free: 22.87 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.6668, allocations: 31.06 kB / 0.8179 GB, free: 22.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007003/0.6675, allocations: 77.64 kB / 0.8179 GB, free: 22.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.6677, allocations: 85.61 kB / 0.818 GB, free: 22.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.188e-05/0.6677, allocations: 34.06 kB / 0.818 GB, free: 22.76 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007056/0.6684, allocations: 0.7297 MB / 0.8188 GB, free: 22.36 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6684, allocations: 0 / 0.8188 GB, free: 22.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002601/0.671, allocations: 0.8096 MB / 0.8196 GB, free: 22.29 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002336/0.6713, allocations: 170.7 kB / 0.8197 GB, free: 22.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003785/0.6751, allocations: 3.128 MB / 0.8228 GB, free: 19.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.6751, allocations: 0 / 0.8228 GB, free: 19.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006028/0.6757, allocations: 0.5803 MB / 0.8233 GB, free: 18.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.677, allocations: 182.3 kB / 0.8235 GB, free: 18.79 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00566/0.6827, allocations: 5.54 MB / 0.8289 GB, free: 13.08 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00141/0.6841, allocations: 2.11 MB / 0.831 GB, free: 10.94 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002176/0.6863, allocations: 1.024 MB / 0.832 GB, free: 9.914 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/0.6866, allocations: 87.42 kB / 0.8321 GB, free: 9.828 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.6866, allocations: 0 / 0.8321 GB, free: 9.828 MB / 0.545 GB Notification: Performance of Templates: time 0.02346/0.7101, allocations: 14.69 MB / 0.8464 GB, free: 11.31 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)