Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009072/0.009072, allocations: 103 kB / 15.73 MB, free: 5.492 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.001613/0.001613, allocations: 190.2 kB / 16.67 MB, free: 5.422 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.57/1.57, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1858/0.1858, allocations: 38.01 MB / 307.9 MB, free: 5.969 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.1. 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.001337/0.001337, allocations: 67.91 kB / 433 MB, free: 14.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1109, allocations: 56.48 MB / 489.4 MB, free: 5.879 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003478/0.1144, allocations: 2.508 MB / 491.9 MB, free: 3.352 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.1155, allocations: 0.6359 MB / 492.6 MB, free: 2.707 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.1156, allocations: 4 kB / 492.6 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.1158, allocations: 39.64 kB / 492.6 MB, free: 2.664 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.116, allocations: 75.27 kB / 492.7 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.1162, allocations: 63.91 kB / 492.8 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002996/0.1165, allocations: 298.6 kB / 493.1 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.1168, allocations: 92.52 kB / 493.1 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.1169, allocations: 111.6 kB / 493.3 MB, free: 2.031 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.1171, allocations: 123.5 kB / 493.4 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.1171, allocations: 24 kB / 493.4 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.67e-05/0.1172, allocations: 20 kB / 493.4 MB, free: 1.867 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.19e-05/0.1172, allocations: 55.77 kB / 493.5 MB, free: 1.812 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.1174, allocations: 123.5 kB / 493.6 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.1177, allocations: 275 kB / 493.9 MB, free: 1.422 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1177, allocations: 0 / 493.9 MB, free: 1.422 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1177, allocations: 0 / 493.9 MB, free: 1.422 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.1177, allocations: 3.938 kB / 493.9 MB, free: 1.418 MB / 366.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.0008125/0.1185, allocations: 0.538 MB / 494.4 MB, free: 0.832 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1186, allocations: 11.89 kB / 494.4 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.801e-05/0.1186, allocations: 36.55 kB / 494.4 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.119, allocations: 240.4 kB / 494.7 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.119, allocations: 12.81 kB / 494.7 MB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.119, allocations: 24.31 kB / 494.7 MB, free: 488 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003839/0.1194, allocations: 199.6 kB / 494.9 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1194, allocations: 0 / 494.9 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.1195, allocations: 8 kB / 494.9 MB, free: 276 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.1195, allocations: 4 kB / 494.9 MB, free: 272 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000258/0.1197, allocations: 145.7 kB / 495.1 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.1209, allocations: 0.8024 MB / 495.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.1211, allocations: 98.48 kB / 496 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.743e-05/0.1212, allocations: 44.84 kB / 496 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.1212, allocations: 3.984 kB / 496 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.1212, allocations: 42.69 kB / 496.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.1212, allocations: 0 / 496.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.00163/0.1229, allocations: 0.7212 MB / 496.8 MB, free: 14.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.1229, allocations: 51.41 kB / 496.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.1231, allocations: 215.7 kB / 497 MB, free: 13.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.1231, allocations: 29.7 kB / 497.1 MB, free: 13.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.995e-05/0.1232, allocations: 163.8 kB / 497.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.1233, allocations: 59.19 kB / 497.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.584e-05/0.1234, allocations: 37.72 kB / 497.3 MB, free: 13.67 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.1235, allocations: 334.8 kB / 497.6 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.1236, allocations: 60.62 kB / 497.7 MB, free: 13.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.1238, allocations: 109 kB / 497.8 MB, free: 13.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.1241, allocations: 176.6 kB / 498 MB, free: 12.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1241, allocations: 0 / 498 MB, free: 12.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004972/0.1246, allocations: 283 kB / 498.3 MB, free: 12.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1246, allocations: 4 kB / 498.3 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1246, allocations: 4 kB / 498.3 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00026/0.1249, allocations: 73.55 kB / 498.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.1251, allocations: 27.98 kB / 498.4 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/0.1272, allocations: 3.02 MB / 0.4896 GB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.1274, allocations: 12.03 kB / 0.4897 GB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.1274, allocations: 4 kB / 0.4897 GB, free: 9.246 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.1276, allocations: 145.8 kB / 0.4898 GB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.183e-05/0.1277, allocations: 15.81 kB / 0.4898 GB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.088e-05/0.1277, allocations: 21.86 kB / 0.4898 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1277, allocations: 8.078 kB / 0.4898 GB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1277, allocations: 3.984 kB / 0.4898 GB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1277, allocations: 0 / 0.4898 GB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.128, allocations: 297.3 kB / 0.4901 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.128, allocations: 0 / 0.4901 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.28e-05/0.1281, allocations: 19.98 kB / 0.4901 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001784/0.1283, allocations: 65.67 kB / 0.4902 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.1283, allocations: 4 kB / 0.4902 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/0.1304, allocations: 3.009 MB / 0.4931 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1304, allocations: 0 / 0.4931 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006241/0.1311, allocations: 400.7 kB / 0.4935 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.013e-05/0.1312, allocations: 96.94 kB / 0.4936 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.1312, allocations: 4 kB / 0.4936 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.1314, allocations: 11.98 kB / 0.4936 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.585e-05/0.1315, allocations: 20.05 kB / 0.4937 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.1315, allocations: 4 kB / 0.4937 GB, free: 4.746 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001549/0.1316, allocations: 157.5 kB / 0.4938 GB, free: 4.594 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1316, allocations: 0 / 0.4938 GB, free: 4.594 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004151/0.1321, allocations: 64 kB / 0.4939 GB, free: 4.531 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001698/0.1322, allocations: 95.42 kB / 0.494 GB, free: 4.426 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008276/0.1331, allocations: 413.1 kB / 0.4944 GB, free: 3.996 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1331, allocations: 3.938 kB / 0.4944 GB, free: 3.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004503/0.1335, allocations: 329 kB / 0.4947 GB, free: 3.648 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.1339, allocations: 40.23 kB / 0.4947 GB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.1351, allocations: 0.5079 MB / 0.4952 GB, free: 3.082 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004598/0.1356, allocations: 0.748 MB / 0.4959 GB, free: 2.305 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.202e-05/0.1357, allocations: 17.95 kB / 0.496 GB, free: 2.289 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.886e-05/0.1357, allocations: 15.44 kB / 0.496 GB, free: 2.277 MB / 382.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1358, allocations: 0 / 0.496 GB, free: 2.277 MB / 382.1 MB Notification: Performance of Templates: time 0.0064/0.1422, allocations: 2.717 MB / 0.4986 GB, free: 15.57 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1)