Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001159/0.001159, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001201/0.001201, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.311/1.311, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2907/0.2907, allocations: 40 MB / 310.4 MB, free: 9.973 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005069/0.000507, allocations: 19.98 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1033, allocations: 57.96 MB / 436.8 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.006187/0.1095, allocations: 6.189 MB / 443 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004215/0.1138, allocations: 2.23 MB / 445.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007341/0.1146, allocations: 24 kB / 445.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008852/0.1155, allocations: 266.3 kB / 445.5 MB, free: 9.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002164/0.1176, allocations: 0.818 MB / 446.3 MB, free: 9.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.1195, allocations: 0.7327 MB / 447 MB, free: 8.309 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002043/0.1216, allocations: 0.9795 MB / 448 MB, free: 7.328 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003322/0.1249, allocations: 1.49 MB / 449.5 MB, free: 5.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008101/0.1258, allocations: 0.4943 MB / 450 MB, free: 5.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008854/0.1267, allocations: 0.6225 MB / 450.6 MB, free: 4.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001991/0.1269, allocations: 56 kB / 450.7 MB, free: 4.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007385/0.1276, allocations: 243.7 kB / 450.9 MB, free: 4.387 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.1278, allocations: 227.1 kB / 451.1 MB, free: 4.164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002938/0.1281, allocations: 237.1 kB / 451.4 MB, free: 3.926 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.1296, allocations: 1.305 MB / 452.7 MB, free: 2.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.1297, allocations: 8 kB / 452.7 MB, free: 2.609 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1297, allocations: 0 / 452.7 MB, free: 2.609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.262e-05/0.1297, allocations: 0 / 452.7 MB, free: 2.609 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.007071/0.1368, allocations: 2.162 MB / 454.8 MB, free: 404 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.1368, allocations: 8.031 kB / 454.8 MB, free: 396 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.17/0.3069, allocations: 1.508 MB / 456.3 MB, free: 47.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008759/0.3078, allocations: 0.5961 MB / 456.9 MB, free: 47.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.309e-05/0.3079, allocations: 104.9 kB / 457 MB, free: 47.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.3081, allocations: 137.4 kB / 457.2 MB, free: 47.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.3101, allocations: 1.515 MB / 458.7 MB, free: 46.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/0.3102, allocations: 10.62 kB / 458.7 MB, free: 46.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.3103, allocations: 57.22 kB / 458.8 MB, free: 46.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.3103, allocations: 37.14 kB / 458.8 MB, free: 46.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002195/0.3125, allocations: 1.58 MB / 460.4 MB, free: 46.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006015/0.3186, allocations: 5.546 MB / 465.9 MB, free: 44.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.3203, allocations: 2.368 MB / 468.3 MB, free: 42.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.3205, allocations: 104 kB / 468.4 MB, free: 42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.3205, allocations: 53.95 kB / 468.4 MB, free: 41.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 3.456e-06/0.3205, allocations: 0 / 468.4 MB, free: 41.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.007548/0.3281, allocations: 3.146 MB / 471.6 MB, free: 40.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.3281, allocations: 90.67 kB / 471.7 MB, free: 40.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003796/0.3285, allocations: 479.7 kB / 472.1 MB, free: 40.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.59e-05/0.3286, allocations: 48.14 kB / 472.2 MB, free: 40.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.3287, allocations: 489 kB / 472.7 MB, free: 40.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.3289, allocations: 425 kB / 473.1 MB, free: 39.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-05/0.329, allocations: 30.62 kB / 473.1 MB, free: 39.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.824e-05/0.3291, allocations: 380.9 kB / 473.5 MB, free: 39.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006634/0.3297, allocations: 471.4 kB / 474 MB, free: 39.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007462/0.3305, allocations: 0.7423 MB / 474.7 MB, free: 38.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007563/0.3313, allocations: 0.5357 MB / 475.2 MB, free: 38.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.3313, allocations: 3.125 kB / 475.2 MB, free: 38.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002277/0.3336, allocations: 1.645 MB / 476.9 MB, free: 37.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3336, allocations: 9.562 kB / 476.9 MB, free: 37.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.3336, allocations: 9.312 kB / 476.9 MB, free: 37.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001252/0.3349, allocations: 0.5261 MB / 477.4 MB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007077/0.3356, allocations: 217.4 kB / 477.6 MB, free: 37.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005781/0.3414, allocations: 5.01 MB / 482.6 MB, free: 34.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007398/0.3421, allocations: 142 kB / 482.8 MB, free: 34.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.222e-05/0.3422, allocations: 50.69 kB / 482.8 MB, free: 34.25 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.0003894/0.3426, allocations: 286.7 kB / 483.1 MB, free: 34.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.3428, allocations: 79.47 kB / 483.2 MB, free: 33.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002249/0.345, allocations: 1.595 MB / 484.8 MB, free: 33.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.3451, allocations: 12.09 kB / 484.8 MB, free: 33.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3451, allocations: 0 / 484.8 MB, free: 33.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.3451, allocations: 9.938 kB / 484.8 MB, free: 33.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003588/0.3487, allocations: 2.904 MB / 487.7 MB, free: 31.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.3487, allocations: 0 / 487.7 MB, free: 31.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000564/0.3493, allocations: 145.5 kB / 487.9 MB, free: 31.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001175/0.3505, allocations: 0.5224 MB / 488.4 MB, free: 31.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.38e-05/0.3505, allocations: 22.19 kB / 488.4 MB, free: 31.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00621/0.3567, allocations: 5.003 MB / 493.4 MB, free: 28.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3568, allocations: 1.188 kB / 493.4 MB, free: 28.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00348/0.3603, allocations: 2.341 MB / 495.7 MB, free: 27.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000353/0.3606, allocations: 281.5 kB / 496 MB, free: 26.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.3608, allocations: 22.06 kB / 496 MB, free: 26.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005939/0.3614, allocations: 60.97 kB / 496.1 MB, free: 26.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002075/0.3616, allocations: 102.3 kB / 496.2 MB, free: 26.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.584e-05/0.3617, allocations: 33.38 kB / 496.2 MB, free: 26.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003037/0.362, allocations: 314.4 kB / 496.5 MB, free: 26.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.362, allocations: 1.344 kB / 496.5 MB, free: 26.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001274/0.3632, allocations: 418.7 kB / 496.9 MB, free: 26.57 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.0002586/0.3635, allocations: 171.8 kB / 497.1 MB, free: 26.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003131/0.3667, allocations: 1.881 MB / 499 MB, free: 25.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.3667, allocations: 1.25 kB / 499 MB, free: 25.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001975/0.3687, allocations: 1.243 MB / 0.4885 GB, free: 24.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000528/0.3692, allocations: 77.78 kB / 0.4886 GB, free: 24.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/0.3723, allocations: 2.572 MB / 0.4911 GB, free: 23.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005977/0.3729, allocations: 1.106 MB / 0.4922 GB, free: 22.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005368/0.3735, allocations: 115.1 kB / 0.4923 GB, free: 22.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.3737, allocations: 61.38 kB / 0.4924 GB, free: 22.57 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3737, allocations: 1.281 kB / 0.4924 GB, free: 22.57 MB / 382.1 MB Notification: Performance of Templates: time 0.02614/0.3998, allocations: 16.32 MB / 0.5083 GB, free: 16.93 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) Environment - environmentSimulation: