Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.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.SingularTransfomer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 99.55 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.001189/0.001189, allocations: 177.3 kB / 15.94 MB, free: 228 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.255/1.255, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.2841/0.2841, allocations: 40 MB / 310.4 MB, free: 9.633 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.0005132/0.0005134, allocations: 12 kB / 378.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09815/0.09868, allocations: 57.95 MB / 436.8 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.002341/0.1011, allocations: 2.023 MB / 438.8 MB, free: 288 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009999/0.1021, allocations: 0.6247 MB / 439.4 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.1023, allocations: 4 kB / 439.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.921e-05/0.1024, allocations: 27.77 kB / 439.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.1026, allocations: 83.73 kB / 439.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.1028, allocations: 43.95 kB / 439.6 MB, free: 15.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.1031, allocations: 203.6 kB / 439.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.1033, allocations: 64.66 kB / 439.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.1034, allocations: 103.6 kB / 439.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.1036, allocations: 107.5 kB / 440 MB, free: 15.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.1036, allocations: 16 kB / 440 MB, free: 15.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.655e-05/0.1037, allocations: 15.94 kB / 440.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.505e-05/0.1037, allocations: 35.84 kB / 440.1 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.401e-05/0.1038, allocations: 69.58 kB / 440.2 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.104, allocations: 203.7 kB / 440.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.104, allocations: 0 / 440.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.104, allocations: 0 / 440.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.104, allocations: 4 kB / 440.4 MB, free: 14.68 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0006698/0.1047, allocations: 0.4949 MB / 440.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.1047, allocations: 12.03 kB / 440.9 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.552e-05/0.1048, allocations: 27.67 kB / 440.9 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.105, allocations: 239.4 kB / 441.1 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.1051, allocations: 12.44 kB / 441.1 MB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.1051, allocations: 20 kB / 441.2 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.1054, allocations: 199.2 kB / 441.4 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1055, allocations: 0 / 441.4 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.1055, allocations: 4 kB / 441.4 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.1055, allocations: 11.98 kB / 441.4 MB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002986/0.1058, allocations: 145.6 kB / 441.5 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.1071, allocations: 0.8103 MB / 442.3 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.1073, allocations: 102.5 kB / 442.4 MB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.1073, allocations: 0 / 442.4 MB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.1073, allocations: 38.56 kB / 442.5 MB, free: 12.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.1074, allocations: 0 / 442.5 MB, free: 12.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.00157/0.1089, allocations: 0.7488 MB / 443.2 MB, free: 11.58 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.109, allocations: 59.41 kB / 443.3 MB, free: 11.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.1092, allocations: 215.6 kB / 443.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.1092, allocations: 25.7 kB / 443.5 MB, free: 11.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.671e-05/0.1093, allocations: 172.5 kB / 443.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.1093, allocations: 47.27 kB / 443.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/0.1093, allocations: 11.94 kB / 443.7 MB, free: 11.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.597e-05/0.1094, allocations: 330.8 kB / 444.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.1096, allocations: 63.97 kB / 444.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.1097, allocations: 109.1 kB / 444.2 MB, free: 10.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.1099, allocations: 75.98 kB / 444.3 MB, free: 10.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1099, allocations: 3.938 kB / 444.3 MB, free: 10.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004783/0.1104, allocations: 287 kB / 444.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.1104, allocations: 4 kB / 444.6 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1104, allocations: 0 / 444.6 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002134/0.1106, allocations: 73.67 kB / 444.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.1108, allocations: 31.92 kB / 444.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.1128, allocations: 2.843 MB / 447.5 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.113, allocations: 15.98 kB / 447.5 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.113, allocations: 16.06 kB / 447.6 MB, free: 6.879 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 16 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.1131, allocations: 129.8 kB / 447.7 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/0.1132, allocations: 19.81 kB / 447.7 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.933e-05/0.1132, allocations: 29.8 kB / 447.7 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1132, allocations: 0 / 447.7 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.1132, allocations: 4 kB / 447.7 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1133, allocations: 0 / 447.7 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.1135, allocations: 285.7 kB / 448 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1135, allocations: 4 kB / 448 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.187e-05/0.1136, allocations: 19.98 kB / 448 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001758/0.1138, allocations: 69.66 kB / 448.1 MB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1138, allocations: 0 / 448.1 MB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/0.1157, allocations: 2.819 MB / 450.9 MB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1157, allocations: 288 / 450.9 MB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006039/0.1163, allocations: 408.6 kB / 451.3 MB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.49e-05/0.1164, allocations: 96.94 kB / 451.4 MB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.1165, allocations: 4 kB / 451.4 MB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.1166, allocations: 24.05 kB / 451.5 MB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/0.1167, allocations: 19.91 kB / 451.5 MB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.1167, allocations: 8 kB / 451.5 MB, free: 2.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001144/0.1168, allocations: 149.5 kB / 451.6 MB, free: 2.445 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1168, allocations: 0 / 451.6 MB, free: 2.445 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003332/0.1172, allocations: 64 kB / 451.7 MB, free: 2.383 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * Single equations (assignments): 7 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.065e-05/0.1173, allocations: 107.2 kB / 451.8 MB, free: 2.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005883/0.1179, allocations: 425 kB / 452.2 MB, free: 1.828 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1179, allocations: 0 / 452.2 MB, free: 1.828 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003991/0.1183, allocations: 329.3 kB / 452.5 MB, free: 1.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.1186, allocations: 36.22 kB / 452.6 MB, free: 1.445 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008538/0.1194, allocations: 0.6055 MB / 453.2 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.1197, allocations: 0.7479 MB / 453.9 MB, free: 44 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.1198, allocations: 17.95 kB / 453.9 MB, free: 24 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.1199, allocations: 15.44 kB / 454 MB, free: 8 kB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1199, allocations: 4 kB / 454 MB, free: 4 kB / 382.1 MB Notification: Performance of Templates: time 0.1521/0.2719, allocations: 2.415 MB / 456.4 MB, free: 47.78 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) Environment - environmentSimulation: