Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001368/0.001368, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001403/0.001403, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.585/1.585, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.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.001183/0.001183, allocations: 47.92 kB / 280 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08902/0.09022, allocations: 46.63 MB / 326.6 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004899/0.09518, allocations: 4.042 MB / 330.7 MB, free: 408 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.09673, allocations: 0.9122 MB / 331.6 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.09691, allocations: 15.88 kB / 331.6 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.09713, allocations: 91.06 kB / 331.7 MB, free: 15.37 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.09743, allocations: 178.4 kB / 331.9 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.09774, allocations: 143.8 kB / 332 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005623/0.09831, allocations: 0.6654 MB / 332.7 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002901/0.09861, allocations: 199 kB / 332.9 MB, free: 14.19 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002548/0.09887, allocations: 266.9 kB / 333.1 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.09918, allocations: 286.7 kB / 333.4 MB, free: 13.65 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.638e-05/0.09926, allocations: 56 kB / 333.4 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.82e-05/0.09936, allocations: 56 kB / 333.5 MB, free: 13.54 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.09946, allocations: 131.5 kB / 333.6 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002431/0.09971, allocations: 306.5 kB / 333.9 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005524/0.1003, allocations: 0.6308 MB / 334.6 MB, free: 12.48 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.1003, allocations: 0 / 334.6 MB, free: 12.48 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1003, allocations: 3.938 kB / 334.6 MB, free: 12.47 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.1003, allocations: 0 / 334.6 MB, free: 12.47 MB / 286.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.001367/0.1017, allocations: 0.8573 MB / 335.4 MB, free: 11.56 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1017, allocations: 8.031 kB / 335.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.1018, allocations: 64.19 kB / 335.5 MB, free: 11.49 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.1023, allocations: 367.6 kB / 335.9 MB, free: 11.09 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/0.1023, allocations: 37.38 kB / 335.9 MB, free: 11.05 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-05/0.1024, allocations: 48.38 kB / 335.9 MB, free: 11.01 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000717/0.1031, allocations: 491.5 kB / 336.4 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1032, allocations: 0 / 336.4 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.241e-05/0.1032, allocations: 20 kB / 336.4 MB, free: 10.49 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.1032, allocations: 12 kB / 336.4 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005684/0.1038, allocations: 332.3 kB / 336.8 MB, free: 10.16 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002513/0.1063, allocations: 1.705 MB / 338.5 MB, free: 8.355 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/0.1068, allocations: 257.1 kB / 338.7 MB, free: 8.086 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.107, allocations: 146 kB / 338.9 MB, free: 7.938 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.107, allocations: 3.906 kB / 338.9 MB, free: 7.934 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.1071, allocations: 38.56 kB / 338.9 MB, free: 7.887 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.403e-06/0.1071, allocations: 0 / 338.9 MB, free: 7.887 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001777/0.1089, allocations: 0.9501 MB / 339.9 MB, free: 6.859 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.1089, allocations: 85.11 kB / 339.9 MB, free: 6.758 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003845/0.1093, allocations: 385.6 kB / 340.3 MB, free: 6.371 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.1094, allocations: 29.7 kB / 340.3 MB, free: 6.336 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.1095, allocations: 283.5 kB / 340.6 MB, free: 6.055 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.755e-05/0.1096, allocations: 118.3 kB / 340.7 MB, free: 5.938 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.1098, allocations: 77.98 kB / 340.8 MB, free: 5.852 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1099, allocations: 354.7 kB / 341.2 MB, free: 5.496 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.1101, allocations: 108.8 kB / 341.3 MB, free: 5.391 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.1104, allocations: 190.6 kB / 341.5 MB, free: 5.168 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004477/0.1109, allocations: 302.1 kB / 341.8 MB, free: 4.836 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1109, allocations: 0 / 341.8 MB, free: 4.836 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007745/0.1117, allocations: 454.4 kB / 342.2 MB, free: 4.379 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1117, allocations: 8 kB / 342.2 MB, free: 4.371 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1117, allocations: 0 / 342.2 MB, free: 4.371 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003258/0.112, allocations: 81.81 kB / 342.3 MB, free: 4.285 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.1124, allocations: 87.84 kB / 342.4 MB, free: 4.199 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002521/0.1149, allocations: 3.134 MB / 345.5 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.1152, allocations: 16.17 kB / 345.5 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.1152, allocations: 16 kB / 345.5 MB, free: 0.7578 MB / 286.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 (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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002019/0.1154, allocations: 165.7 kB / 345.7 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.985e-05/0.1155, allocations: 43.53 kB / 345.7 MB, free: 0.543 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.857e-05/0.1156, allocations: 47.53 kB / 345.8 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1156, allocations: 4 kB / 345.8 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.1156, allocations: 3.938 kB / 345.8 MB, free: 500 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1156, allocations: 7.984 kB / 345.8 MB, free: 492 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.1169, allocations: 0.9358 MB / 346.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.1169, allocations: 4 kB / 346.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.1171, allocations: 39.92 kB / 346.8 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002439/0.1174, allocations: 81.64 kB / 346.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.1174, allocations: 11.98 kB / 346.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002316/0.1197, allocations: 3.138 MB / 350 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1197, allocations: 0 / 350 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008259/0.1206, allocations: 0.6093 MB / 350.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.188e-05/0.1207, allocations: 116.6 kB / 350.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.11e-05/0.1207, allocations: 11.94 kB / 350.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004254/0.1212, allocations: 35.97 kB / 350.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.1212, allocations: 19.97 kB / 350.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.1213, allocations: 15.98 kB / 350.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002537/0.1215, allocations: 267.2 kB / 351.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1215, allocations: 0 / 351.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005289/0.1221, allocations: 120 kB / 351.2 MB, free: 10.7 MB / 302.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 (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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001293/0.1222, allocations: 111.4 kB / 351.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008556/0.1231, allocations: 0.5207 MB / 351.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1231, allocations: 3.938 kB / 351.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005381/0.1236, allocations: 381.2 kB / 352.2 MB, free: 9.633 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/0.1242, allocations: 65.84 kB / 352.3 MB, free: 9.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.1257, allocations: 0.9589 MB / 353.2 MB, free: 8.578 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.1261, allocations: 0.8353 MB / 354.1 MB, free: 7.715 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001709/0.1263, allocations: 43.23 kB / 354.1 MB, free: 7.672 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.039e-05/0.1264, allocations: 35.44 kB / 354.1 MB, free: 7.637 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1264, allocations: 0 / 354.1 MB, free: 7.637 MB / 302.1 MB Notification: Performance of Templates: time 0.008517/0.1349, allocations: 4.662 MB / 358.8 MB, free: 2.98 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1)