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.007289/0.007289, allocations: 97.38 kB / 15.73 MB, free: 6.062 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.001361/0.001361, allocations: 202.1 kB / 16.68 MB, free: 5.977 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.639/1.639, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.34/0.34, allocations: 38 MB / 307.9 MB, free: 10.04 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.001555/0.001555, allocations: 67.84 kB / 433 MB, free: 5.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.4, allocations: 56.46 MB / 489.4 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.00417/0.4042, allocations: 2.514 MB / 491.9 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.4055, allocations: 0.6419 MB / 492.6 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.4056, allocations: 5.031 kB / 492.6 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.4058, allocations: 38.97 kB / 492.6 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001577/0.406, allocations: 69.03 kB / 492.7 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.4063, allocations: 77.95 kB / 492.8 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004113/0.4068, allocations: 295 kB / 493.1 MB, free: 17.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.407, allocations: 85.75 kB / 493.1 MB, free: 17.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.4072, allocations: 116.1 kB / 493.3 MB, free: 17.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.4074, allocations: 111.8 kB / 493.4 MB, free: 17.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.97e-05/0.4075, allocations: 27.44 kB / 493.4 MB, free: 17.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.164e-05/0.4076, allocations: 27.22 kB / 493.4 MB, free: 17.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.671e-05/0.4076, allocations: 54.94 kB / 493.5 MB, free: 17.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.4078, allocations: 127 kB / 493.6 MB, free: 17.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005531/0.4083, allocations: 278 kB / 493.9 MB, free: 17.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.4084, allocations: 1.953 kB / 493.9 MB, free: 17.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4084, allocations: 3.938 kB / 493.9 MB, free: 17.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.4084, allocations: 4 kB / 493.9 MB, free: 17.04 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.00101/0.4094, allocations: 0.5411 MB / 494.4 MB, free: 16.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.346e-05/0.4095, allocations: 13.97 kB / 494.4 MB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.29e-05/0.4096, allocations: 26.52 kB / 494.5 MB, free: 16.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000431/0.41, allocations: 240.3 kB / 494.7 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.4101, allocations: 25.97 kB / 494.7 MB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.628e-05/0.4101, allocations: 16.53 kB / 494.7 MB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005142/0.4106, allocations: 195.7 kB / 494.9 MB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.4107, allocations: 0 / 494.9 MB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/0.4107, allocations: 10.28 kB / 494.9 MB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.4107, allocations: 5.594 kB / 494.9 MB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003379/0.4111, allocations: 138.7 kB / 495.1 MB, free: 16.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.4126, allocations: 0.8058 MB / 495.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.4128, allocations: 100.2 kB / 496 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.957e-05/0.4129, allocations: 48.16 kB / 496 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.4129, allocations: 2.031 kB / 496 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.4129, allocations: 32.7 kB / 496.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.445e-06/0.413, allocations: 3.984 kB / 496.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001849/0.4148, allocations: 0.7253 MB / 496.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.4148, allocations: 54.92 kB / 496.8 MB, free: 14.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.4151, allocations: 218 kB / 497.1 MB, free: 14.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.4151, allocations: 28.08 kB / 497.1 MB, free: 14.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.4152, allocations: 171.2 kB / 497.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.04e-05/0.4153, allocations: 59.72 kB / 497.3 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.747e-05/0.4153, allocations: 39.17 kB / 497.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.4155, allocations: 336.8 kB / 497.7 MB, free: 14.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.4156, allocations: 64.3 kB / 497.7 MB, free: 14.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.4158, allocations: 102.1 kB / 497.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.4162, allocations: 177 kB / 498 MB, free: 13.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4162, allocations: 1.062 kB / 498 MB, free: 13.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005507/0.4167, allocations: 283 kB / 498.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.4167, allocations: 6.062 kB / 498.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.4168, allocations: 1.375 kB / 498.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002848/0.4171, allocations: 70.89 kB / 498.4 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.4173, allocations: 38.17 kB / 498.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/0.4193, allocations: 3.012 MB / 0.4897 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.4195, allocations: 15.27 kB / 0.4897 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.4195, allocations: 6.234 kB / 0.4897 GB, free: 10.85 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.0001412/0.4197, allocations: 141.7 kB / 0.4898 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/0.4197, allocations: 21.7 kB / 0.4898 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.43e-05/0.4198, allocations: 24.61 kB / 0.4899 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4198, allocations: 1.5 kB / 0.4899 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.4198, allocations: 1.25 kB / 0.4899 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.4198, allocations: 6.5 kB / 0.4899 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.4202, allocations: 286.7 kB / 0.4901 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4202, allocations: 0 / 0.4901 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.666e-05/0.4203, allocations: 16.41 kB / 0.4902 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002123/0.4205, allocations: 69.47 kB / 0.4902 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.4205, allocations: 2.172 kB / 0.4902 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001812/0.4223, allocations: 3.013 MB / 0.4932 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.4224, allocations: 0.5625 kB / 0.4932 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006311/0.423, allocations: 400.1 kB / 0.4936 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.4231, allocations: 90.62 kB / 0.4936 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.4231, allocations: 6.031 kB / 0.4936 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.4233, allocations: 26.77 kB / 0.4937 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.499e-05/0.4233, allocations: 11.64 kB / 0.4937 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.4234, allocations: 8.219 kB / 0.4937 GB, free: 7.078 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00014/0.4235, allocations: 152.3 kB / 0.4938 GB, free: 6.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4235, allocations: 0 / 0.4938 GB, free: 6.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004054/0.4239, allocations: 64.69 kB / 0.4939 GB, free: 6.973 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.0001156/0.4241, allocations: 102.8 kB / 0.494 GB, free: 6.875 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006773/0.4247, allocations: 402.3 kB / 0.4944 GB, free: 6.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4248, allocations: 0 / 0.4944 GB, free: 6.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004472/0.4252, allocations: 335.5 kB / 0.4947 GB, free: 6.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.4256, allocations: 35.34 kB / 0.4947 GB, free: 6.301 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.4268, allocations: 0.5053 MB / 0.4952 GB, free: 5.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.4271, allocations: 0.7462 MB / 0.496 GB, free: 5.277 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.914e-05/0.4272, allocations: 18.34 kB / 0.496 GB, free: 5.273 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.68e-05/0.4272, allocations: 20.91 kB / 0.496 GB, free: 5.262 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4272, allocations: 0 / 0.496 GB, free: 5.262 MB / 382.1 MB Notification: Performance of Templates: time 0.008419/0.4356, allocations: 2.723 MB / 0.4987 GB, free: 5.023 MB / 382.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)