Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 110.2 kB / 16.92 MB, free: 6.332 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.00167/0.00167, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.412/1.412, allocations: 205.1 MB / 223.7 MB, free: 12.35 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.001204/0.001204, allocations: 47.92 kB / 280 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09435/0.09557, allocations: 46.63 MB / 326.6 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004014/0.09965, allocations: 2.782 MB / 329.4 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.101, allocations: 0.7409 MB / 330.1 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.1011, allocations: 8 kB / 330.1 MB, free: 0.918 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.1013, allocations: 63.36 kB / 330.2 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002331/0.1016, allocations: 91.12 kB / 330.3 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/0.102, allocations: 123.8 kB / 330.4 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004725/0.1025, allocations: 438.8 kB / 330.8 MB, free: 220 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004312/0.1029, allocations: 224.8 kB / 331.1 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.1032, allocations: 175.4 kB / 331.2 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002542/0.1035, allocations: 207.1 kB / 331.4 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.636e-05/0.1036, allocations: 48 kB / 331.5 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.523e-05/0.1036, allocations: 44 kB / 331.5 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.751e-05/0.1037, allocations: 91.75 kB / 331.6 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002165/0.104, allocations: 215 kB / 331.8 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005218/0.1045, allocations: 0.4907 MB / 332.3 MB, free: 14.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1045, allocations: 4 kB / 332.3 MB, free: 14.72 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1045, allocations: 0 / 332.3 MB, free: 14.72 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.1045, allocations: 0 / 332.3 MB, free: 14.72 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001266/0.1058, allocations: 0.6825 MB / 333 MB, free: 13.99 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.608e-05/0.1059, allocations: 8.031 kB / 333 MB, free: 13.98 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.106, allocations: 44.47 kB / 333.1 MB, free: 13.94 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.1064, allocations: 272.4 kB / 333.3 MB, free: 13.63 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.1064, allocations: 37.31 kB / 333.4 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.532e-05/0.1065, allocations: 40.38 kB / 333.4 MB, free: 13.55 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006696/0.1071, allocations: 451.6 kB / 333.8 MB, free: 13.08 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.1072, allocations: 7.938 kB / 333.9 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/0.1072, allocations: 16 kB / 333.9 MB, free: 13.06 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.1072, allocations: 11.98 kB / 333.9 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004911/0.1077, allocations: 287.9 kB / 334.2 MB, free: 12.77 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001904/0.1096, allocations: 1.31 MB / 335.5 MB, free: 11.37 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005042/0.1102, allocations: 238.7 kB / 335.7 MB, free: 11.12 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003883/0.1106, allocations: 192.8 kB / 335.9 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.1106, allocations: 4 kB / 335.9 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.1107, allocations: 34.56 kB / 335.9 MB, free: 10.89 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 2.465e-06/0.1107, allocations: 7.938 kB / 335.9 MB, free: 10.88 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001351/0.112, allocations: 0.5385 MB / 336.5 MB, free: 10.31 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.1122, allocations: 243.3 kB / 336.7 MB, free: 10.02 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.1124, allocations: 206.8 kB / 336.9 MB, free: 9.809 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.1124, allocations: 33.69 kB / 336.9 MB, free: 9.77 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.1126, allocations: 195.9 kB / 337.1 MB, free: 9.574 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.336e-05/0.1126, allocations: 106.5 kB / 337.2 MB, free: 9.469 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.003e-05/0.1127, allocations: 61.64 kB / 337.3 MB, free: 9.402 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1129, allocations: 338.8 kB / 337.6 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.113, allocations: 75.95 kB / 337.7 MB, free: 8.988 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.1132, allocations: 156.4 kB / 337.9 MB, free: 8.805 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008944/0.1141, allocations: 365.4 kB / 338.2 MB, free: 8.441 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1142, allocations: 3.938 kB / 338.2 MB, free: 8.438 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004554/0.1146, allocations: 277 kB / 338.5 MB, free: 8.16 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1146, allocations: 4 kB / 338.5 MB, free: 8.156 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1147, allocations: 4.062 kB / 338.5 MB, free: 8.152 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1147, allocations: 4 kB / 338.5 MB, free: 8.148 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/0.115, allocations: 79.89 kB / 338.6 MB, free: 8.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.115, allocations: 4 kB / 338.6 MB, free: 8.066 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.1152, allocations: 31.67 kB / 338.6 MB, free: 8.035 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.1153, allocations: 12 kB / 338.6 MB, free: 8.023 MB / 286.1 MB Warning: Assuming fixed start value for the following 2 variables: C2.vinternal:VARIABLE(unit = "V" fixed = true protected = true ) "Capacitor voltage" type: Real C1.vinternal:VARIABLE(unit = "V" fixed = true protected = true ) "Capacitor voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002998/0.1156, allocations: 161.8 kB / 338.8 MB, free: 7.855 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.294e-05/0.1156, allocations: 31.64 kB / 338.8 MB, free: 7.824 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.826e-05/0.1157, allocations: 26.66 kB / 338.8 MB, free: 7.797 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1157, allocations: 4 kB / 338.8 MB, free: 7.793 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.1157, allocations: 0 / 338.8 MB, free: 7.793 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.1157, allocations: 3.984 kB / 338.9 MB, free: 7.789 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.1168, allocations: 0.7711 MB / 339.6 MB, free: 6.957 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1168, allocations: 4.031 kB / 339.6 MB, free: 6.953 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.1171, allocations: 51.91 kB / 339.7 MB, free: 6.902 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002937/0.1174, allocations: 84.8 kB / 339.8 MB, free: 6.816 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.1174, allocations: 8 kB / 339.8 MB, free: 6.809 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00198/0.1194, allocations: 1.992 MB / 341.8 MB, free: 4.676 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1194, allocations: 0 / 341.8 MB, free: 4.676 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007922/0.1202, allocations: 0.5099 MB / 342.3 MB, free: 4.145 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.238e-05/0.1203, allocations: 104.8 kB / 342.4 MB, free: 4.023 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.1203, allocations: 4 kB / 342.4 MB, free: 4.02 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.1205, allocations: 20.05 kB / 342.4 MB, free: 4 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.178e-05/0.1206, allocations: 19.97 kB / 342.4 MB, free: 3.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.1206, allocations: 8 kB / 342.4 MB, free: 3.973 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001467/0.1208, allocations: 152.3 kB / 342.6 MB, free: 3.824 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1208, allocations: 0 / 342.6 MB, free: 3.824 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003958/0.1212, allocations: 107.7 kB / 342.7 MB, free: 3.719 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001571/0.1214, allocations: 115.1 kB / 342.8 MB, free: 3.594 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000458/0.1218, allocations: 215.9 kB / 343 MB, free: 3.383 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1218, allocations: 0 / 343 MB, free: 3.383 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004651/0.1223, allocations: 270.5 kB / 343.3 MB, free: 3.105 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.1226, allocations: 27.94 kB / 343.3 MB, free: 3.078 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.124, allocations: 0.8498 MB / 344.1 MB, free: 2.199 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.1244, allocations: 0.7831 MB / 344.9 MB, free: 1.391 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.268e-05/0.1245, allocations: 21.94 kB / 344.9 MB, free: 1.371 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.695e-05/0.1246, allocations: 23.44 kB / 345 MB, free: 1.352 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1246, allocations: 4 kB / 345 MB, free: 1.348 MB / 286.1 MB Notification: Performance of Templates: time 0.006839/0.1314, allocations: 2.902 MB / 347.9 MB, free: 14.45 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1)