Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 92.53 kB / 16.93 MB, free: 5.977 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.001693/0.001694, allocations: 176.2 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004388/0.0004389, allocations: 16 kB / 280.7 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09273/0.09318, allocations: 47.59 MB / 328.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.008991/0.1022, allocations: 8.087 MB / 336.4 MB, free: 11.97 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00622/0.1085, allocations: 2.63 MB / 339 MB, free: 9.328 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001979/0.1105, allocations: 63.81 kB / 339.1 MB, free: 9.266 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001889/0.1124, allocations: 465.5 kB / 339.6 MB, free: 8.809 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003368/0.1158, allocations: 0.8763 MB / 340.4 MB, free: 7.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.1178, allocations: 0.6624 MB / 341.1 MB, free: 7.266 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004276/0.122, allocations: 2.842 MB / 343.9 MB, free: 4.418 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01501/0.1371, allocations: 9.203 MB / 353.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00254/0.1396, allocations: 1.588 MB / 354.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003234/0.1429, allocations: 1.813 MB / 356.6 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004505/0.1433, allocations: 280 kB / 356.8 MB, free: 7.445 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.1445, allocations: 463.7 kB / 357.3 MB, free: 6.992 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006049/0.1451, allocations: 0.7747 MB / 358.1 MB, free: 6.215 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009557/0.1461, allocations: 0.9019 MB / 359 MB, free: 5.305 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006098/0.1522, allocations: 7.628 MB / 366.6 MB, free: 13.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1522, allocations: 0 / 366.6 MB, free: 13.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1522, allocations: 0 / 366.6 MB, free: 13.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001559/0.1524, allocations: 0 / 366.6 MB, free: 13.66 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01081/0.1632, allocations: 4.59 MB / 371.2 MB, free: 9 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.1633, allocations: 11.97 kB / 371.2 MB, free: 8.988 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0138/0.1771, allocations: 2.406 MB / 373.6 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005194/0.1823, allocations: 2.341 MB / 375.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002816/0.1826, allocations: 361.8 kB / 376.3 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001179/0.1838, allocations: 472 kB / 376.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2294/0.4133, allocations: 6.581 MB / 383.3 MB, free: 30.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001544/0.4135, allocations: 7.125 kB / 383.3 MB, free: 30.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006924/0.4142, allocations: 194.5 kB / 383.5 MB, free: 30.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003617/0.4146, allocations: 228 kB / 383.7 MB, free: 30.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01582/0.4304, allocations: 6.098 MB / 389.8 MB, free: 30.74 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03241/0.4628, allocations: 22.7 MB / 412.5 MB, free: 18.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007676/0.4706, allocations: 10.8 MB / 423.3 MB, free: 6.773 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005292/0.4759, allocations: 3.572 MB / 426.9 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.476, allocations: 46.55 kB / 427 MB, free: 2.848 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 2.384e-06/0.476, allocations: 0 / 427 MB, free: 2.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007768/0.4768, allocations: 0.6733 MB / 427.6 MB, free: 2.098 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.4768, allocations: 55.41 kB / 427.7 MB, free: 2.031 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003115/0.4799, allocations: 2.141 MB / 429.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.48, allocations: 29.7 kB / 429.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001964/0.4819, allocations: 2.383 MB / 432.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.4821, allocations: 87.34 kB / 432.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.4822, allocations: 48 kB / 432.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000342/0.4826, allocations: 463.7 kB / 432.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00149/0.4841, allocations: 0.8625 MB / 433.7 MB, free: 11.99 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002672/0.4868, allocations: 2.265 MB / 436 MB, free: 9.051 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002155/0.4889, allocations: 1.422 MB / 437.4 MB, free: 7.672 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.146e-05/0.489, allocations: 16 kB / 437.4 MB, free: 7.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.005685/0.4947, allocations: 3.112 MB / 440.5 MB, free: 4.836 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.247e-05/0.4948, allocations: 28.95 kB / 440.5 MB, free: 4.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.296e-05/0.4949, allocations: 52 kB / 440.6 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-05/0.495, allocations: 76 kB / 440.7 MB, free: 4.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/0.4967, allocations: 0.5675 MB / 441.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.114e-05/0.4968, allocations: 98.73 kB / 441.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/0.4989, allocations: 404.2 kB / 441.7 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001899/0.4991, allocations: 148 kB / 441.9 MB, free: 3.547 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 227 * 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 (312): * Single equations (assignments): 308 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002978/0.502, allocations: 1.739 MB / 443.6 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003007/0.5024, allocations: 134.2 kB / 443.7 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000646/0.503, allocations: 339 kB / 444.1 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002472/0.5033, allocations: 184.2 kB / 444.2 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5033, allocations: 0 / 444.2 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.5033, allocations: 192 / 444.2 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006024/0.5093, allocations: 3.2 MB / 447.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.5093, allocations: 0 / 447.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.504e-05/0.5095, allocations: 19.73 kB / 447.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.5095, allocations: 0 / 447.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.5095, allocations: 4 kB / 447.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.5095, allocations: 4.078 kB / 447.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5095, allocations: 3.984 kB / 447.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006239/0.5101, allocations: 0.534 MB / 448 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005044/0.5107, allocations: 255.3 kB / 448.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.5108, allocations: 4 kB / 448.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000496/0.5113, allocations: 27.95 kB / 448.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.5113, allocations: 11.94 kB / 448.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.5114, allocations: 8 kB / 448.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001877/0.5133, allocations: 1.396 MB / 449.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5133, allocations: 0 / 449.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003005/0.5163, allocations: 0.9941 MB / 450.7 MB, free: 10.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * 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 (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000312/0.5166, allocations: 141 kB / 450.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00245/0.5191, allocations: 1.572 MB / 452.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.5191, allocations: 4.062 kB / 452.4 MB, free: 9.094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.5192, allocations: 91.7 kB / 452.5 MB, free: 9.008 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.5206, allocations: 311.5 kB / 452.8 MB, free: 8.703 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.5327, allocations: 7.555 MB / 460.4 MB, free: 1.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00296/0.5357, allocations: 3.21 MB / 463.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.002114/0.5378, allocations: 0.7906 MB / 464.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.5381, allocations: 99.42 kB / 464.5 MB, free: 13 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5381, allocations: 0 / 464.5 MB, free: 13 MB / 366.1 MB Notification: Performance of Templates: time 0.03432/0.5724, allocations: 16.96 MB / 481.4 MB, free: 12.12 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingStar/BalancingStar.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches