Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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) 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 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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 176.3 kB / 16.56 MB, free: 6.844 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.368/1.368, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3281/0.3281, allocations: 43.55 MB / 314.5 MB, free: 8.816 MB / 254.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.0004712/0.0004712, allocations: 14.97 kB / 383.9 MB, free: 8.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1268, allocations: 58.85 MB / 442.7 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.006406/0.1333, allocations: 6.194 MB / 448.9 MB, free: 6.844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004313/0.1377, allocations: 2.222 MB / 451.2 MB, free: 4.613 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004641/0.1381, allocations: 24 kB / 451.2 MB, free: 4.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00061/0.1388, allocations: 266.3 kB / 451.4 MB, free: 4.328 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001708/0.1405, allocations: 0.8179 MB / 452.3 MB, free: 3.508 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.1421, allocations: 0.7406 MB / 453 MB, free: 2.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001161/0.1432, allocations: 0.9794 MB / 454 MB, free: 1.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002405/0.1456, allocations: 1.49 MB / 455.5 MB, free: 264 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1822/0.3279, allocations: 0.4888 MB / 456 MB, free: 37.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008119/0.3287, allocations: 0.6278 MB / 456.6 MB, free: 37.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.3289, allocations: 58.72 kB / 456.7 MB, free: 37.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006258/0.3295, allocations: 233.7 kB / 456.9 MB, free: 37.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.3297, allocations: 230.7 kB / 457.1 MB, free: 37.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.3299, allocations: 244.9 kB / 457.3 MB, free: 37.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.3309, allocations: 1.301 MB / 458.6 MB, free: 37.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.331, allocations: 0 / 458.6 MB, free: 37.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.331, allocations: 0 / 458.6 MB, free: 37.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.815e-05/0.331, allocations: 2.875 kB / 458.6 MB, free: 37.01 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.006161/0.3372, allocations: 2.172 MB / 460.8 MB, free: 36.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.3372, allocations: 12.95 kB / 460.8 MB, free: 36.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01135/0.3486, allocations: 1.506 MB / 462.3 MB, free: 36.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009288/0.3495, allocations: 0.5974 MB / 462.9 MB, free: 35.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.872e-05/0.3496, allocations: 100.8 kB / 463 MB, free: 35.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002472/0.3499, allocations: 134 kB / 463.2 MB, free: 35.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002479/0.3523, allocations: 1.515 MB / 464.7 MB, free: 35.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.022e-05/0.3524, allocations: 6.688 kB / 464.7 MB, free: 35.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/0.3526, allocations: 55.19 kB / 464.7 MB, free: 35.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.293e-05/0.3526, allocations: 34.38 kB / 464.8 MB, free: 35.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002586/0.3552, allocations: 1.585 MB / 466.4 MB, free: 35.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006474/0.3617, allocations: 5.55 MB / 471.9 MB, free: 33.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.3636, allocations: 2.373 MB / 474.3 MB, free: 32.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.3637, allocations: 107.3 kB / 474.4 MB, free: 32.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.3637, allocations: 49.34 kB / 474.4 MB, free: 32.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 2.735e-06/0.3637, allocations: 0 / 474.4 MB, free: 32.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.008048/0.3718, allocations: 3.139 MB / 477.6 MB, free: 31.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.3718, allocations: 94.89 kB / 477.7 MB, free: 31.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000452/0.3723, allocations: 474.5 kB / 478.1 MB, free: 31.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.149e-05/0.3724, allocations: 48.14 kB / 478.2 MB, free: 31.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.3726, allocations: 480.9 kB / 478.6 MB, free: 31.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/0.3729, allocations: 434 kB / 479.1 MB, free: 30.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.874e-05/0.3729, allocations: 26.53 kB / 479.1 MB, free: 30.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.168e-05/0.373, allocations: 389.2 kB / 479.5 MB, free: 30.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006911/0.3737, allocations: 468.9 kB / 479.9 MB, free: 30.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007804/0.3745, allocations: 0.7468 MB / 480.7 MB, free: 30.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008015/0.3753, allocations: 0.5298 MB / 481.2 MB, free: 30.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.3754, allocations: 10.95 kB / 481.2 MB, free: 30.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002385/0.3778, allocations: 1.641 MB / 482.9 MB, free: 29.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.3778, allocations: 12.42 kB / 482.9 MB, free: 29.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.3778, allocations: 9.719 kB / 482.9 MB, free: 29.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/0.3792, allocations: 0.5277 MB / 483.4 MB, free: 29.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007305/0.3799, allocations: 212.5 kB / 483.6 MB, free: 29.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006591/0.3865, allocations: 5.012 MB / 488.6 MB, free: 26.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008677/0.3874, allocations: 134 kB / 488.8 MB, free: 26.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.42e-05/0.3875, allocations: 53.22 kB / 488.8 MB, free: 26.01 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of prepare postOptimizeDAE: time 0.000487/0.388, allocations: 279.5 kB / 489.1 MB, free: 25.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.3881, allocations: 84.52 kB / 489.2 MB, free: 25.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0027/0.3909, allocations: 1.595 MB / 490.8 MB, free: 25.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/0.3909, allocations: 12.56 kB / 490.8 MB, free: 25.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3909, allocations: 1.953 kB / 490.8 MB, free: 25.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/0.3909, allocations: 6.703 kB / 490.8 MB, free: 25.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004209/0.3951, allocations: 2.908 MB / 493.7 MB, free: 23.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.3952, allocations: 3.828 kB / 493.7 MB, free: 23.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006256/0.3958, allocations: 147.1 kB / 493.8 MB, free: 23.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001393/0.3972, allocations: 0.5188 MB / 494.4 MB, free: 23.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.36e-05/0.3973, allocations: 24.94 kB / 494.4 MB, free: 23.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006562/0.4038, allocations: 5.001 MB / 499.4 MB, free: 20.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4039, allocations: 6.906 kB / 499.4 MB, free: 20.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003475/0.4074, allocations: 2.34 MB / 0.49 GB, free: 18.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004063/0.4078, allocations: 278 kB / 0.4902 GB, free: 18.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.4079, allocations: 26 kB / 0.4903 GB, free: 18.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005875/0.4085, allocations: 56.97 kB / 0.4903 GB, free: 18.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00024/0.4087, allocations: 108.3 kB / 0.4904 GB, free: 18.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.172e-05/0.4088, allocations: 33.75 kB / 0.4905 GB, free: 18.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003373/0.4092, allocations: 316.4 kB / 0.4908 GB, free: 18.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4092, allocations: 0 / 0.4908 GB, free: 18.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001275/0.4105, allocations: 420.6 kB / 0.4912 GB, free: 18.37 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 85 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002471/0.4107, allocations: 160.1 kB / 0.4913 GB, free: 18.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003276/0.414, allocations: 1.87 MB / 0.4931 GB, free: 17.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.414, allocations: 0.9688 kB / 0.4931 GB, free: 17.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002033/0.416, allocations: 1.244 MB / 0.4943 GB, free: 16.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.4165, allocations: 82.06 kB / 0.4944 GB, free: 16.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003224/0.4198, allocations: 2.58 MB / 0.4969 GB, free: 15.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006142/0.4204, allocations: 1.105 MB / 0.498 GB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005274/0.4209, allocations: 121.7 kB / 0.4981 GB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.4211, allocations: 62.58 kB / 0.4982 GB, free: 14.46 MB / 382.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4211, allocations: 0 / 0.4982 GB, free: 14.46 MB / 382.1 MB Notification: Performance of Templates: time 0.02249/0.4436, allocations: 16.32 MB / 0.5141 GB, free: 4.309 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) Environment - environmentSimulation: