Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.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) 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(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008469/0.0008471, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0009909/0.0009909, allocations: 168.7 kB / 15.95 MB, free: 200 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.887/1.887, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.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: Performance of FrontEnd - loaded program: time 0.0004696/0.0004696, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.351, allocations: 47.6 MB / 326.5 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.006819/0.3579, allocations: 3.474 MB / 330 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005322/0.3633, allocations: 0.8838 MB / 330.8 MB, free: 13.89 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.3648, allocations: 7.75 kB / 330.8 MB, free: 13.89 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006092/0.3655, allocations: 67.98 kB / 330.9 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.3667, allocations: 157.4 kB / 331.1 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007077/0.3674, allocations: 93.02 kB / 331.2 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002092/0.3695, allocations: 0.627 MB / 331.8 MB, free: 13.23 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006261/0.3702, allocations: 154.1 kB / 331.9 MB, free: 13.15 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.3713, allocations: 217.5 kB / 332.1 MB, free: 13.04 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006487/0.3719, allocations: 250.8 kB / 332.4 MB, free: 12.87 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.3721, allocations: 31.53 kB / 332.4 MB, free: 12.87 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.3723, allocations: 30.66 kB / 332.5 MB, free: 12.87 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002098/0.3725, allocations: 98.75 kB / 332.5 MB, free: 12.79 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003366/0.3729, allocations: 131.9 kB / 332.7 MB, free: 12.7 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009973/0.3739, allocations: 475.3 kB / 333.1 MB, free: 12.35 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.38e-05/0.3739, allocations: 0 / 333.1 MB, free: 12.35 MB / 270.1 MB Notification: Performance of FrontEnd: time 5.23e-06/0.3739, allocations: 0 / 333.1 MB, free: 12.35 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.3739, allocations: 5.188 kB / 333.1 MB, free: 12.35 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.002571/0.3765, allocations: 0.7869 MB / 333.9 MB, free: 11.71 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001022/0.3766, allocations: 9.625 kB / 333.9 MB, free: 11.71 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003153/0.377, allocations: 63.56 kB / 334 MB, free: 11.68 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.3781, allocations: 350.3 kB / 334.3 MB, free: 11.36 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.3783, allocations: 44.95 kB / 334.4 MB, free: 11.33 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002517/0.3786, allocations: 47.28 kB / 334.4 MB, free: 11.32 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/0.3803, allocations: 485.9 kB / 334.9 MB, free: 10.94 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.3804, allocations: 0 / 334.9 MB, free: 10.94 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.977e-05/0.3805, allocations: 20 kB / 334.9 MB, free: 10.92 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.49e-05/0.3805, allocations: 12 kB / 334.9 MB, free: 10.91 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.3816, allocations: 340.3 kB / 335.3 MB, free: 10.57 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005319/0.387, allocations: 1.713 MB / 337 MB, free: 8.766 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000755/0.3878, allocations: 261 kB / 337.2 MB, free: 8.492 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003907/0.3882, allocations: 149.7 kB / 337.4 MB, free: 8.34 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.3883, allocations: 4 kB / 337.4 MB, free: 8.336 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.573e-05/0.3884, allocations: 38.56 kB / 337.4 MB, free: 8.289 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 4.428e-06/0.3884, allocations: 0 / 337.4 MB, free: 8.289 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.003271/0.3917, allocations: 0.9697 MB / 338.4 MB, free: 7.242 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.457e-05/0.3918, allocations: 81.11 kB / 338.5 MB, free: 7.145 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007303/0.3925, allocations: 385.5 kB / 338.9 MB, free: 6.758 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.994e-05/0.3926, allocations: 29.7 kB / 338.9 MB, free: 6.723 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003591/0.393, allocations: 295.5 kB / 339.2 MB, free: 6.426 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.3931, allocations: 106.4 kB / 339.3 MB, free: 6.32 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/0.3932, allocations: 8 kB / 339.3 MB, free: 6.312 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002586/0.3935, allocations: 358.8 kB / 339.6 MB, free: 5.953 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/0.3938, allocations: 100.8 kB / 339.7 MB, free: 5.855 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004289/0.3943, allocations: 198.7 kB / 339.9 MB, free: 5.625 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004186/0.3947, allocations: 128.9 kB / 340.1 MB, free: 5.5 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.3947, allocations: 0 / 340.1 MB, free: 5.5 MB / 270.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001412/0.3961, allocations: 456.8 kB / 340.5 MB, free: 5.043 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.825e-05/0.3962, allocations: 8 kB / 340.5 MB, free: 5.035 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/0.3962, allocations: 4 kB / 340.5 MB, free: 5.031 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006634/0.3969, allocations: 89.86 kB / 340.6 MB, free: 4.938 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006262/0.3976, allocations: 83.83 kB / 340.7 MB, free: 4.855 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00454/0.4021, allocations: 2.849 MB / 343.5 MB, free: 1.742 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008269/0.403, allocations: 24.19 kB / 343.6 MB, free: 1.719 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.256e-05/0.4031, allocations: 16 kB / 343.6 MB, free: 1.703 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005724/0.4037, allocations: 169.7 kB / 343.7 MB, free: 1.527 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002582/0.404, allocations: 39.53 kB / 343.8 MB, free: 1.488 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.4042, allocations: 43.47 kB / 343.8 MB, free: 1.445 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.4042, allocations: 4 kB / 343.8 MB, free: 1.441 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-05/0.4043, allocations: 8 kB / 343.8 MB, free: 1.434 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.4043, allocations: 3.984 kB / 343.8 MB, free: 1.43 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/0.4073, allocations: 0.9344 MB / 344.8 MB, free: 444 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/0.4074, allocations: 4 kB / 344.8 MB, free: 440 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000405/0.4078, allocations: 55.86 kB / 344.8 MB, free: 384 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005704/0.4084, allocations: 77.64 kB / 344.9 MB, free: 300 kB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.541e-05/0.4084, allocations: 8 kB / 344.9 MB, free: 292 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004629/0.4131, allocations: 2.869 MB / 347.8 MB, free: 13.15 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.4132, allocations: 0 / 347.8 MB, free: 13.15 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/0.4153, allocations: 0.6207 MB / 348.4 MB, free: 12.5 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004892/0.4158, allocations: 120.6 kB / 348.5 MB, free: 12.37 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/0.4161, allocations: 11.98 kB / 348.5 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007801/0.4169, allocations: 39.92 kB / 348.6 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.4171, allocations: 19.97 kB / 348.6 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-05/0.4171, allocations: 15.98 kB / 348.6 MB, free: 12.28 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0008185/0.418, allocations: 267.2 kB / 348.9 MB, free: 12.02 MB / 286.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.418, allocations: 4 kB / 348.9 MB, free: 12.02 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.001377/0.4194, allocations: 116 kB / 349 MB, free: 11.9 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003091/0.4197, allocations: 115.1 kB / 349.1 MB, free: 11.78 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001967/0.4217, allocations: 0.5089 MB / 349.6 MB, free: 11.24 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.4217, allocations: 0 / 349.6 MB, free: 11.24 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.4229, allocations: 393.7 kB / 350 MB, free: 10.83 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.4242, allocations: 73.42 kB / 350.1 MB, free: 10.76 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003977/0.4282, allocations: 1.168 MB / 351.2 MB, free: 9.559 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/0.4292, allocations: 0.8353 MB / 352.1 MB, free: 8.695 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0004818/0.4298, allocations: 39.3 kB / 352.1 MB, free: 8.656 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.43, allocations: 27.44 kB / 352.1 MB, free: 8.633 MB / 286.1 MB Notification: Performance of SimCode: time 2.394e-06/0.43, allocations: 4 kB / 352.1 MB, free: 8.629 MB / 286.1 MB Notification: Performance of Templates: time 0.02045/0.4505, allocations: 4.23 MB / 356.4 MB, free: 4.398 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1)