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.0009416/0.0009454, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001174/0.001174, allocations: 168.7 kB / 15.95 MB, free: 204 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.332/1.332, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2883/0.2883, allocations: 38.04 MB / 308.4 MB, free: 10.43 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.0005099/0.00051, allocations: 20 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09757/0.09809, allocations: 57.52 MB / 434 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.002399/0.1005, allocations: 2.12 MB / 436.1 MB, free: 3.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.1017, allocations: 0.6051 MB / 436.7 MB, free: 2.816 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002328/0.102, allocations: 4 kB / 436.7 MB, free: 2.812 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.1022, allocations: 31.77 kB / 436.7 MB, free: 2.781 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.1023, allocations: 59.47 kB / 436.8 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.1026, allocations: 51.88 kB / 436.8 MB, free: 2.672 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003124/0.1029, allocations: 266.7 kB / 437.1 MB, free: 2.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.1031, allocations: 68.77 kB / 437.2 MB, free: 2.344 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.1033, allocations: 99.58 kB / 437.3 MB, free: 2.246 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.1035, allocations: 107.5 kB / 437.4 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.632e-05/0.1035, allocations: 12 kB / 437.4 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.514e-05/0.1035, allocations: 12 kB / 437.4 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.243e-05/0.1036, allocations: 35.83 kB / 437.4 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.848e-05/0.1037, allocations: 69.58 kB / 437.5 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.1039, allocations: 215.6 kB / 437.7 MB, free: 1.797 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.1039, allocations: 0 / 437.7 MB, free: 1.797 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.1039, allocations: 0 / 437.7 MB, free: 1.797 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.1039, allocations: 0 / 437.7 MB, free: 1.797 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.0006722/0.1046, allocations: 498.9 kB / 438.2 MB, free: 1.262 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1046, allocations: 11.97 kB / 438.2 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.092e-05/0.1047, allocations: 39.56 kB / 438.2 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.105, allocations: 235.4 kB / 438.5 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.105, allocations: 16.44 kB / 438.5 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.1051, allocations: 20 kB / 438.5 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/0.1055, allocations: 195.2 kB / 438.7 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1055, allocations: 0 / 438.7 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.1055, allocations: 4 kB / 438.7 MB, free: 0.707 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.1055, allocations: 11.98 kB / 438.7 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002796/0.1058, allocations: 145.7 kB / 438.8 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.1071, allocations: 0.8103 MB / 439.7 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.1073, allocations: 106.5 kB / 439.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.872e-05/0.1074, allocations: 48.83 kB / 439.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.1074, allocations: 0 / 439.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.1074, allocations: 38.56 kB / 439.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.1074, allocations: 4 kB / 439.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001545/0.109, allocations: 0.7449 MB / 440.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.109, allocations: 55.41 kB / 440.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.1092, allocations: 207.7 kB / 440.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.1093, allocations: 29.7 kB / 440.9 MB, free: 14.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.507e-05/0.1094, allocations: 167.8 kB / 441 MB, free: 14.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.1094, allocations: 55.16 kB / 441.1 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.798e-06/0.1094, allocations: 4 kB / 441.1 MB, free: 14.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1095, allocations: 334.8 kB / 441.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.1097, allocations: 63.91 kB / 441.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.1098, allocations: 109.1 kB / 441.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.11, allocations: 76.64 kB / 441.7 MB, free: 13.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.11, allocations: 0 / 441.7 MB, free: 13.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00046/0.1105, allocations: 286.9 kB / 442 MB, free: 13.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1105, allocations: 7.984 kB / 442 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1105, allocations: 7.938 kB / 442 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002041/0.1107, allocations: 65.84 kB / 442 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.1109, allocations: 35.91 kB / 442.1 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002016/0.1129, allocations: 2.819 MB / 444.9 MB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.113, allocations: 8 kB / 444.9 MB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1131, allocations: 15.95 kB / 444.9 MB, free: 9.973 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.1132, allocations: 130.8 kB / 445 MB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.1132, allocations: 23.8 kB / 445.1 MB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.019e-05/0.1133, allocations: 25.94 kB / 445.1 MB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1133, allocations: 0 / 445.1 MB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.1133, allocations: 4 kB / 445.1 MB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1133, allocations: 0 / 445.1 MB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.1136, allocations: 289.5 kB / 445.4 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1136, allocations: 7.938 kB / 445.4 MB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.678e-05/0.1137, allocations: 15.98 kB / 445.4 MB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001652/0.1139, allocations: 73.75 kB / 445.5 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.1139, allocations: 0 / 445.5 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/0.1158, allocations: 2.792 MB / 448.3 MB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1158, allocations: 4.031 kB / 448.3 MB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005566/0.1164, allocations: 409.1 kB / 448.7 MB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.765e-05/0.1164, allocations: 96.89 kB / 448.8 MB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.1165, allocations: 4 kB / 448.8 MB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.1166, allocations: 15.98 kB / 448.8 MB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.1167, allocations: 19.97 kB / 448.8 MB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.1167, allocations: 4 kB / 448.8 MB, free: 5.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.1168, allocations: 157.5 kB / 449 MB, free: 5.555 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1168, allocations: 0 / 449 MB, free: 5.555 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003237/0.1171, allocations: 64 kB / 449 MB, free: 5.492 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.43e-05/0.1172, allocations: 99.19 kB / 449.1 MB, free: 5.387 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005785/0.1178, allocations: 421.1 kB / 449.5 MB, free: 4.949 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1178, allocations: 0 / 449.5 MB, free: 4.949 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003917/0.1182, allocations: 341.5 kB / 449.9 MB, free: 4.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.1186, allocations: 31.89 kB / 449.9 MB, free: 4.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008719/0.1195, allocations: 0.6055 MB / 450.5 MB, free: 3.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.1198, allocations: 0.744 MB / 451.2 MB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.463e-05/0.1198, allocations: 17.95 kB / 451.3 MB, free: 3.141 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.1199, allocations: 15.44 kB / 451.3 MB, free: 3.125 MB / 382.1 MB Notification: Performance of SimCode: time 2.806e-06/0.1199, allocations: 4 kB / 451.3 MB, free: 3.121 MB / 382.1 MB Notification: Performance of Templates: time 0.004996/0.1249, allocations: 2.429 MB / 453.7 MB, free: 0.6992 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: