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.001106/0.001113, allocations: 110.6 kB / 16.42 MB, free: 6.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.001202/0.001202, allocations: 189.6 kB / 17.35 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.384/1.384, allocations: 222.9 MB / 241.1 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.002378/0.002378, allocations: 293.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 0.9911/0.9911, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 87.86 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5355/0.5374, allocations: 86.98 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004434/0.5419, allocations: 2.612 MB / 0.7696 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002574/0.5445, allocations: 1.41 MB / 0.771 GB, free: 15.85 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.5447, allocations: 7.938 kB / 0.771 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008389/0.5455, allocations: 175.2 kB / 0.7712 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003968/0.546, allocations: 131.4 kB / 0.7713 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005035/0.5465, allocations: 183.5 kB / 0.7715 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003447/0.5468, allocations: 219.3 kB / 0.7717 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003245/0.5472, allocations: 128.7 kB / 0.7718 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.5474, allocations: 83.73 kB / 0.7719 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.5476, allocations: 107.6 kB / 0.772 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.5477, allocations: 12 kB / 0.772 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004021/0.5481, allocations: 183.6 kB / 0.7722 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.5482, allocations: 63.8 kB / 0.7722 GB, free: 14.58 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.5483, allocations: 79.61 kB / 0.7723 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005396/0.5489, allocations: 281.7 kB / 0.7726 GB, free: 14.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.5489, allocations: 0 / 0.7726 GB, free: 14.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.765e-06/0.5489, allocations: 3.938 kB / 0.7726 GB, free: 14.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.5489, allocations: 0 / 0.7726 GB, free: 14.23 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.000906/0.5498, allocations: 479.2 kB / 0.773 GB, free: 13.71 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.5499, allocations: 8.031 kB / 0.773 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006011/0.5505, allocations: 68.67 kB / 0.7731 GB, free: 13.63 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.5508, allocations: 224 kB / 0.7733 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.5508, allocations: 8.656 kB / 0.7733 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/0.5509, allocations: 16.38 kB / 0.7733 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000433/0.5513, allocations: 283.6 kB / 0.7736 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.5513, allocations: 7.938 kB / 0.7736 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.5514, allocations: 4 kB / 0.7736 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.972e-05/0.5514, allocations: 20.22 kB / 0.7736 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003345/0.5518, allocations: 210.3 kB / 0.7738 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.5535, allocations: 1.576 MB / 0.7754 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004021/0.554, allocations: 323.2 kB / 0.7757 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.735e-05/0.5541, allocations: 65.69 kB / 0.7757 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.5541, allocations: 0 / 0.7757 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.5541, allocations: 38.56 kB / 0.7758 GB, free: 10.6 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.764e-06/0.5541, allocations: 3.938 kB / 0.7758 GB, free: 10.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0006152/0.5548, allocations: 244.6 kB / 0.776 GB, free: 10.35 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.5548, allocations: 81.11 kB / 0.7761 GB, free: 10.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.555, allocations: 196.3 kB / 0.7763 GB, free: 10.05 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.5551, allocations: 25.7 kB / 0.7763 GB, free: 10.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.5552, allocations: 163.6 kB / 0.7765 GB, free: 9.855 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.5552, allocations: 35.45 kB / 0.7765 GB, free: 9.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-05/0.5553, allocations: 41.7 kB / 0.7765 GB, free: 9.773 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5554, allocations: 326.8 kB / 0.7768 GB, free: 9.445 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.5556, allocations: 72.81 kB / 0.7769 GB, free: 9.371 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.5557, allocations: 163 kB / 0.7771 GB, free: 9.172 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.556, allocations: 238.9 kB / 0.7773 GB, free: 8.898 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5561, allocations: 0 / 0.7773 GB, free: 8.898 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004271/0.5565, allocations: 261.1 kB / 0.7775 GB, free: 8.637 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.5565, allocations: 8.375 kB / 0.7776 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.5565, allocations: 8 kB / 0.7776 GB, free: 8.621 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.5566, allocations: 4 kB / 0.7776 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.5568, allocations: 51.84 kB / 0.7776 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.5568, allocations: 4 kB / 0.7776 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.557, allocations: 19.92 kB / 0.7776 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.557, allocations: 8 kB / 0.7776 GB, free: 8.535 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000173/0.5572, allocations: 164.1 kB / 0.7778 GB, free: 8.371 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001605/0.5574, allocations: 147.9 kB / 0.7779 GB, free: 8.184 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002382/0.5576, allocations: 219.7 kB / 0.7782 GB, free: 7.926 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.957e-06/0.5576, allocations: 4 kB / 0.7782 GB, free: 7.922 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003546/0.558, allocations: 233.2 kB / 0.7784 GB, free: 7.688 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.558, allocations: 12.39 kB / 0.7784 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.558, allocations: 8 kB / 0.7784 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.072e-06/0.558, allocations: 4 kB / 0.7784 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.5582, allocations: 43.92 kB / 0.7784 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.5582, allocations: 15.86 kB / 0.7785 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.5584, allocations: 12 kB / 0.7785 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.5584, allocations: 8 kB / 0.7785 GB, free: 7.586 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.0001228/0.5585, allocations: 199.5 kB / 0.7787 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.798e-05/0.5586, allocations: 15.81 kB / 0.7787 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/0.5588, allocations: 151 kB / 0.7788 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.5589, allocations: 4.062 kB / 0.7788 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.5589, allocations: 4 kB / 0.7788 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.559, allocations: 104.8 kB / 0.7789 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.559, allocations: 3.984 kB / 0.7789 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.5592, allocations: 11.98 kB / 0.779 GB, free: 7.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.5592, allocations: 11.98 kB / 0.779 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002768/0.5595, allocations: 292.1 kB / 0.7792 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003001/0.5598, allocations: 398 kB / 0.7796 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.714e-05/0.5599, allocations: 56.58 kB / 0.7797 GB, free: 6.305 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001293/0.5601, allocations: 149.1 kB / 0.7798 GB, free: 6.16 MB / 0.545 GB Notification: Performance of Backend: time 9.72e-07/0.5601, allocations: 0 / 0.7798 GB, free: 6.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009864/0.5611, allocations: 401.3 kB / 0.7802 GB, free: 5.766 MB / 0.545 GB Notification: Performance of SimCode: time 0.0009129/0.562, allocations: 0.7698 MB / 0.781 GB, free: 4.953 MB / 0.545 GB Notification: Performance of Templates: time 0.007168/0.5692, allocations: 3.387 MB / 0.7843 GB, free: 1.609 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)