Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 110.6 kB / 16.41 MB, free: 6.504 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.00123/0.00123, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.45/1.45, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003526/0.003526, allocations: 292.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.122/1.122, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00281/0.00281, allocations: 107.8 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4952/0.498, allocations: 86.97 MB / 0.767 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004311/0.5023, allocations: 2.624 MB / 0.7696 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002412/0.5047, allocations: 1.422 MB / 0.771 GB, free: 15.85 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.661e-05/0.5048, allocations: 7.938 kB / 0.771 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000735/0.5055, allocations: 167.3 kB / 0.7712 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003086/0.5058, allocations: 127.5 kB / 0.7713 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.5063, allocations: 194.9 kB / 0.7715 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002968/0.5066, allocations: 211.3 kB / 0.7717 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002734/0.5069, allocations: 112.8 kB / 0.7718 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.507, allocations: 83.73 kB / 0.7719 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.5072, allocations: 107.6 kB / 0.772 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.5073, allocations: 12 kB / 0.772 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003524/0.5076, allocations: 179.6 kB / 0.7721 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.028e-05/0.5077, allocations: 63.8 kB / 0.7722 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.5078, allocations: 83.59 kB / 0.7723 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003987/0.5082, allocations: 272.9 kB / 0.7725 GB, free: 14.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5082, allocations: 3.938 kB / 0.7725 GB, free: 14.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.02e-07/0.5082, allocations: 0 / 0.7725 GB, free: 14.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.5082, allocations: 4 kB / 0.7725 GB, free: 14.27 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007584/0.509, allocations: 486.7 kB / 0.773 GB, free: 13.74 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.509, allocations: 12.03 kB / 0.773 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005258/0.5095, allocations: 60.78 kB / 0.7731 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.5098, allocations: 231.3 kB / 0.7733 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.5098, allocations: 12.66 kB / 0.7733 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.5099, allocations: 16.36 kB / 0.7733 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004577/0.5103, allocations: 283.6 kB / 0.7736 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.5104, allocations: 4 kB / 0.7736 GB, free: 13.06 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.5104, allocations: 4 kB / 0.7736 GB, free: 13.06 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.063e-05/0.5104, allocations: 20.23 kB / 0.7736 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003476/0.5108, allocations: 214.3 kB / 0.7738 GB, free: 12.83 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.5129, allocations: 1.572 MB / 0.7754 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004284/0.5133, allocations: 319.3 kB / 0.7757 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.5134, allocations: 61.67 kB / 0.7757 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.5134, allocations: 0 / 0.7757 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.5135, allocations: 38.5 kB / 0.7758 GB, free: 10.64 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.5135, allocations: 0 / 0.7758 GB, free: 10.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0005908/0.5141, allocations: 257 kB / 0.776 GB, free: 10.38 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.5141, allocations: 81.3 kB / 0.7761 GB, free: 10.29 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.5143, allocations: 196.1 kB / 0.7763 GB, free: 10.08 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.5144, allocations: 25.7 kB / 0.7763 GB, free: 10.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.5145, allocations: 163.9 kB / 0.7765 GB, free: 9.887 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.5145, allocations: 39.69 kB / 0.7765 GB, free: 9.848 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-05/0.5146, allocations: 49.66 kB / 0.7765 GB, free: 9.793 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.5148, allocations: 322.8 kB / 0.7769 GB, free: 9.469 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/0.5151, allocations: 76.81 kB / 0.7769 GB, free: 9.391 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.5153, allocations: 161.4 kB / 0.7771 GB, free: 9.195 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.5156, allocations: 238.9 kB / 0.7773 GB, free: 8.922 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.5156, allocations: 128 / 0.7773 GB, free: 8.922 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004096/0.516, allocations: 265.5 kB / 0.7776 GB, free: 8.656 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.516, allocations: 4 kB / 0.7776 GB, free: 8.652 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.516, allocations: 7.984 kB / 0.7776 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.516, allocations: 7.938 kB / 0.7776 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.5162, allocations: 51.91 kB / 0.7776 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.5162, allocations: 4 kB / 0.7776 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.5164, allocations: 19.94 kB / 0.7777 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.5164, allocations: 8 kB / 0.7777 GB, free: 8.555 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000178/0.5166, allocations: 164.1 kB / 0.7778 GB, free: 8.391 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002004/0.5168, allocations: 155.3 kB / 0.778 GB, free: 8.199 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003137/0.5171, allocations: 211.8 kB / 0.7782 GB, free: 7.949 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.322e-06/0.5171, allocations: 0 / 0.7782 GB, free: 7.949 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003569/0.5175, allocations: 237.7 kB / 0.7784 GB, free: 7.711 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/0.5175, allocations: 4 kB / 0.7784 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.5175, allocations: 7.984 kB / 0.7784 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.983e-06/0.5175, allocations: 4 kB / 0.7784 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.5177, allocations: 47.91 kB / 0.7785 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.83e-05/0.5177, allocations: 16.34 kB / 0.7785 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.5178, allocations: 19.88 kB / 0.7785 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.5178, allocations: 11.94 kB / 0.7785 GB, free: 7.602 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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.000124/0.5179, allocations: 192.2 kB / 0.7787 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.518, allocations: 19.94 kB / 0.7787 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.5183, allocations: 147 kB / 0.7788 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.5183, allocations: 7.938 kB / 0.7788 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.5183, allocations: 0 / 0.7788 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.5183, allocations: 0 / 0.7788 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.5193, allocations: 0.7274 MB / 0.7796 GB, free: 6.414 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5193, allocations: 0 / 0.7796 GB, free: 6.414 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.5194, allocations: 23.98 kB / 0.7796 GB, free: 6.391 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.5194, allocations: 4 kB / 0.7796 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.5194, allocations: 4 kB / 0.7796 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.5194, allocations: 8.344 kB / 0.7796 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.5194, allocations: 3.938 kB / 0.7796 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004099/0.5198, allocations: 382.2 kB / 0.78 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.5199, allocations: 109 kB / 0.7801 GB, free: 5.828 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.52, allocations: 4 kB / 0.7801 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.5201, allocations: 7.984 kB / 0.7801 GB, free: 5.816 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.5202, allocations: 19.94 kB / 0.7801 GB, free: 5.797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.5202, allocations: 8 kB / 0.7801 GB, free: 5.789 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000151/0.5203, allocations: 153.1 kB / 0.7803 GB, free: 5.641 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.5203, allocations: 0 / 0.7803 GB, free: 5.641 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004946/0.5208, allocations: 68 kB / 0.7803 GB, free: 5.574 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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.0001686/0.521, allocations: 107.1 kB / 0.7804 GB, free: 5.461 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004436/0.5214, allocations: 259.8 kB / 0.7807 GB, free: 5.207 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5215, allocations: 5.562 kB / 0.7807 GB, free: 5.203 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.79e-05/0.5215, allocations: 56.47 kB / 0.7807 GB, free: 5.148 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.522, allocations: 34.05 kB / 0.7808 GB, free: 5.117 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007439/0.5228, allocations: 414.4 kB / 0.7812 GB, free: 4.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/0.5232, allocations: 0.7363 MB / 0.7819 GB, free: 3.898 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001797/0.5234, allocations: 73.41 kB / 0.7819 GB, free: 3.824 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.5235, allocations: 19.44 kB / 0.782 GB, free: 3.805 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.5235, allocations: 4 kB / 0.782 GB, free: 3.801 MB / 0.545 GB Notification: Performance of Templates: time 0.005199/0.5287, allocations: 1.788 MB / 0.7837 GB, free: 2.055 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)