Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002356/0.002362, allocations: 182.7 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.242/2.242, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001196/0.001196, allocations: 93.53 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.527/0.527, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004596/0.0004597, allocations: 8 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1254, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.368/0.4935, allocations: 18.34 MB / 0.4966 GB, free: 34.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.016/0.5095, allocations: 5.282 MB / 0.5018 GB, free: 33.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005733/0.5153, allocations: 154 kB / 0.5019 GB, free: 33.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00552/0.5209, allocations: 1.094 MB / 0.503 GB, free: 32.76 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01076/0.5317, allocations: 1.974 MB / 0.5049 GB, free: 32.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006931/0.5387, allocations: 1.302 MB / 0.5062 GB, free: 31.42 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01888/0.5576, allocations: 9.382 MB / 0.5154 GB, free: 26.31 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0663/0.6239, allocations: 26.31 MB / 0.5411 GB, free: 13.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01167/0.6357, allocations: 5.093 MB / 0.546 GB, free: 11.51 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01481/0.6505, allocations: 5.733 MB / 0.5516 GB, free: 8.797 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004385/0.655, allocations: 0.8364 MB / 0.5525 GB, free: 8.797 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008505/0.6635, allocations: 1.014 MB / 0.5534 GB, free: 8.145 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005439/0.669, allocations: 2.637 MB / 0.556 GB, free: 5.875 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006544/0.6756, allocations: 2.819 MB / 0.5588 GB, free: 3.043 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03844/0.7141, allocations: 24.01 MB / 0.5822 GB, free: 12.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7142, allocations: 4 kB / 0.5822 GB, free: 12.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.446e-06/0.7142, allocations: 0 / 0.5822 GB, free: 12.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007916/0.715, allocations: 0 / 0.5822 GB, free: 12.98 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 0.07392/0.7889, allocations: 15.83 MB / 0.5977 GB, free: 13.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.789, allocations: 8.031 kB / 0.5977 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.104/0.893, allocations: 12.75 MB / 0.6101 GB, free: 264 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02552/0.9186, allocations: 7.801 MB / 0.6178 GB, free: 8.375 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001809/0.9205, allocations: 1.079 MB / 0.6188 GB, free: 7.293 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007622/0.9281, allocations: 1.394 MB / 0.6202 GB, free: 5.898 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08648/1.015, allocations: 23.88 MB / 0.6435 GB, free: 13.92 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008311/1.016, allocations: 19.83 kB / 0.6435 GB, free: 13.9 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00569/1.021, allocations: 0.5781 MB / 0.6441 GB, free: 13.32 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001268/1.023, allocations: 0.7335 MB / 0.6448 GB, free: 12.59 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07497/1.098, allocations: 22.36 MB / 0.6666 GB, free: 6.199 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8492/1.947, allocations: 73.06 MB / 0.738 GB, free: 71.34 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03646/1.983, allocations: 31.57 MB / 0.7688 GB, free: 42.01 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04728/2.031, allocations: 15.51 MB / 0.784 GB, free: 32.31 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.995e-05/2.031, allocations: 81.05 kB / 0.784 GB, free: 32.23 MB / 490.8 MB Notification: Performance of pre-optimization done (n=465): time 9.027e-06/2.031, allocations: 0 / 0.784 GB, free: 32.23 MB / 490.8 MB Notification: Performance of matching and sorting (n=465): time 0.07174/2.103, allocations: 15.38 MB / 0.799 GB, free: 23.57 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.024e-05/2.103, allocations: 124.7 kB / 0.7992 GB, free: 23.43 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01187/2.115, allocations: 5.158 MB / 0.8042 GB, free: 18.28 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001049/2.116, allocations: 101.7 kB / 0.8043 GB, free: 18.17 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004501/2.12, allocations: 5.882 MB / 0.81 GB, free: 12.26 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002484/2.123, allocations: 1.596 MB / 0.8116 GB, free: 10.68 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009511/2.124, allocations: 164 kB / 0.8118 GB, free: 10.52 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0005849/2.124, allocations: 0.6333 MB / 0.8124 GB, free: 9.879 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01127/2.136, allocations: 4.18 MB / 0.8165 GB, free: 5.695 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01434/2.15, allocations: 7.54 MB / 0.8238 GB, free: 12.56 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01599/2.166, allocations: 5.716 MB / 0.8294 GB, free: 6.84 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001174/2.166, allocations: 36 kB / 0.8294 GB, free: 6.805 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1006) (initialization): time 0.04109/2.207, allocations: 13.17 MB / 0.8423 GB, free: 9.609 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/2.208, allocations: 52 kB / 0.8424 GB, free: 9.559 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002168/2.208, allocations: 119.9 kB / 0.8425 GB, free: 9.441 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01265/2.22, allocations: 3.067 MB / 0.8455 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01201/2.232, allocations: 1.681 MB / 0.8471 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02749/2.26, allocations: 11.13 MB / 0.858 GB, free: 9.359 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01018/2.27, allocations: 1.119 MB / 0.8591 GB, free: 8.23 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002074/2.272, allocations: 412 kB / 0.8595 GB, free: 7.828 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 518 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (859): * Single equations (assignments): 856 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 30,20 28,20 28} Notification: Performance of prepare postOptimizeDAE: time 0.01576/2.288, allocations: 5.452 MB / 0.8648 GB, free: 2.359 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001655/2.29, allocations: 0.5092 MB / 0.8653 GB, free: 1.844 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03059/2.32, allocations: 9.62 MB / 0.8747 GB, free: 8.191 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.116e-05/2.321, allocations: 48 kB / 0.8747 GB, free: 8.145 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/2.321, allocations: 0 / 0.8747 GB, free: 8.145 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001377/2.321, allocations: 27.91 kB / 0.8747 GB, free: 8.117 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.451/2.772, allocations: 20.67 MB / 0.8949 GB, free: 164.4 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-05/2.772, allocations: 0 / 0.8949 GB, free: 164.4 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00663/2.779, allocations: 0.7377 MB / 0.8956 GB, free: 164.3 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01136/2.79, allocations: 2.918 MB / 0.8985 GB, free: 163.6 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001133/2.791, allocations: 94.2 kB / 0.8986 GB, free: 163.5 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02379/2.815, allocations: 10.93 MB / 0.9093 GB, free: 158 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/2.815, allocations: 0 / 0.9093 GB, free: 158 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03876/2.854, allocations: 14.08 MB / 0.923 GB, free: 152.7 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005072/2.859, allocations: 1.326 MB / 0.9243 GB, free: 152.1 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002334/2.861, allocations: 81.14 kB / 0.9244 GB, free: 152 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00652/2.868, allocations: 392.5 kB / 0.9248 GB, free: 151.9 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001964/2.87, allocations: 328.7 kB / 0.9251 GB, free: 151.9 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001034/2.871, allocations: 136.3 kB / 0.9252 GB, free: 151.9 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.009507/2.881, allocations: 3.421 MB / 0.9285 GB, free: 150.7 MB / 0.5418 GB Notification: Performance of sort global known variables: time 6.21e-07/2.881, allocations: 1.969 kB / 0.9285 GB, free: 150.7 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0133/2.894, allocations: 3.307 MB / 0.9318 GB, free: 149.7 MB / 0.5418 GB 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: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 30,20 28,20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.001547/2.895, allocations: 261.1 kB / 0.932 GB, free: 149.5 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.02991/2.925, allocations: 10.57 MB / 0.9424 GB, free: 145.8 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.404e-05/2.925, allocations: 0.875 kB / 0.9424 GB, free: 145.8 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.01596/2.941, allocations: 5.028 MB / 0.9473 GB, free: 143.9 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009845/2.951, allocations: 1.139 MB / 0.9484 GB, free: 143.5 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06826/3.02, allocations: 28.56 MB / 0.9763 GB, free: 118.4 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01854/3.038, allocations: 9.065 MB / 0.9851 GB, free: 109.4 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003181/3.042, allocations: 439.4 kB / 0.9855 GB, free: 109 MB / 0.5418 GB Notification: Performance of SimCode: time 1.924e-06/3.042, allocations: 0 / 0.9855 GB, free: 109 MB / 0.5418 GB Notification: Performance of Templates: time 1.337/4.378, allocations: 367.5 MB / 1.344 GB, free: 165.1 MB / 0.573 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1)