Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.00506/0.00506, allocations: 102.1 kB / 15.73 MB, free: 6.438 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.001165/0.001165, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.382/1.382, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.001258/0.001258, allocations: 59.08 kB / 326.5 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0835/0.08476, allocations: 46.62 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004273/0.08907, allocations: 2.77 MB / 375.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.09076, allocations: 0.7562 MB / 376.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003278/0.09112, allocations: 12 kB / 376.7 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.09137, allocations: 63.41 kB / 376.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003923/0.09178, allocations: 91.06 kB / 376.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005018/0.09229, allocations: 123.8 kB / 377 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005848/0.09289, allocations: 434.8 kB / 377.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004089/0.0933, allocations: 228.7 kB / 377.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003404/0.09365, allocations: 175.5 kB / 377.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003376/0.094, allocations: 203.2 kB / 378 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.41e-05/0.0941, allocations: 44 kB / 378 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.143e-05/0.0942, allocations: 52 kB / 378.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.697e-05/0.09431, allocations: 107.6 kB / 378.2 MB, free: 12.26 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002338/0.09455, allocations: 207.1 kB / 378.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005281/0.09508, allocations: 0.4983 MB / 378.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.09509, allocations: 0 / 378.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.0951, allocations: 0 / 378.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.09513, allocations: 0 / 378.9 MB, free: 11.55 MB / 318.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.001308/0.09644, allocations: 0.6787 MB / 379.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.09649, allocations: 8.031 kB / 379.6 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.09661, allocations: 48.41 kB / 379.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.09695, allocations: 276.3 kB / 379.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.09699, allocations: 33.38 kB / 379.9 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.717e-05/0.09707, allocations: 40.38 kB / 380 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007478/0.09783, allocations: 459.5 kB / 380.4 MB, free: 9.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.09786, allocations: 0 / 380.4 MB, free: 9.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.887e-05/0.0979, allocations: 16 kB / 380.4 MB, free: 9.891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.09793, allocations: 12 kB / 380.4 MB, free: 9.879 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005564/0.09849, allocations: 279.9 kB / 380.7 MB, free: 9.605 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002171/0.1007, allocations: 1.299 MB / 382 MB, free: 8.219 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004978/0.1012, allocations: 238.6 kB / 382.2 MB, free: 7.977 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003832/0.1016, allocations: 196.7 kB / 382.4 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.1016, allocations: 4 kB / 382.4 MB, free: 7.777 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.1017, allocations: 38.56 kB / 382.5 MB, free: 7.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.563e-06/0.1017, allocations: 0 / 382.5 MB, free: 7.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001415/0.1031, allocations: 0.5462 MB / 383 MB, free: 7.156 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.1032, allocations: 239.3 kB / 383.3 MB, free: 6.867 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.1034, allocations: 210.9 kB / 383.5 MB, free: 6.652 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.1035, allocations: 33.7 kB / 383.5 MB, free: 6.613 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.1036, allocations: 196 kB / 383.7 MB, free: 6.418 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.053e-05/0.1037, allocations: 102.5 kB / 383.8 MB, free: 6.316 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.434e-05/0.1038, allocations: 57.7 kB / 383.8 MB, free: 6.254 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1039, allocations: 338.8 kB / 384.2 MB, free: 5.914 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.1041, allocations: 71.83 kB / 384.2 MB, free: 5.844 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.1043, allocations: 164.6 kB / 384.4 MB, free: 5.652 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000891/0.1052, allocations: 354.2 kB / 384.8 MB, free: 5.301 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.1052, allocations: 8 kB / 384.8 MB, free: 5.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005071/0.1058, allocations: 284.8 kB / 385 MB, free: 5.008 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.1058, allocations: 5.094 kB / 385 MB, free: 5.004 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1058, allocations: 0 / 385 MB, free: 5.004 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.1058, allocations: 4 kB / 385.1 MB, free: 5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.1062, allocations: 79.83 kB / 385.1 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.1062, allocations: 7.938 kB / 385.1 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.1064, allocations: 39.64 kB / 385.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.1064, allocations: 8.062 kB / 385.2 MB, free: 4.867 MB / 318.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.000322/0.1067, allocations: 157.7 kB / 385.3 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/0.1068, allocations: 23.75 kB / 385.4 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.586e-05/0.1069, allocations: 34.64 kB / 385.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.1069, allocations: 4 kB / 385.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.581e-05/0.1069, allocations: 4 kB / 385.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1069, allocations: 0 / 385.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.108, allocations: 0.771 MB / 386.2 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.108, allocations: 0 / 386.2 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.1083, allocations: 47.97 kB / 386.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000306/0.1086, allocations: 92.73 kB / 386.3 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.1086, allocations: 15.94 kB / 386.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/0.1108, allocations: 1.969 MB / 388.3 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1108, allocations: 4.031 kB / 388.3 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007947/0.1116, allocations: 0.5059 MB / 388.8 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.903e-05/0.1117, allocations: 109 kB / 388.9 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.263e-05/0.1118, allocations: 8 kB / 388.9 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.1119, allocations: 8 kB / 388.9 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/0.112, allocations: 27.95 kB / 389 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.112, allocations: 4 kB / 389 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.1121, allocations: 160.3 kB / 389.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1121, allocations: 0 / 389.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003813/0.1125, allocations: 103.6 kB / 389.2 MB, free: 0.5781 MB / 318.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.000139/0.1127, allocations: 103.2 kB / 389.3 MB, free: 480 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004102/0.1131, allocations: 211.8 kB / 389.5 MB, free: 268 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1131, allocations: 0 / 389.5 MB, free: 268 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004202/0.1135, allocations: 274.5 kB / 389.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.1139, allocations: 28.19 kB / 389.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.1152, allocations: 0.8462 MB / 390.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.1156, allocations: 0.7831 MB / 391.4 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.577e-05/0.1157, allocations: 29.88 kB / 391.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.939e-05/0.1157, allocations: 27.38 kB / 391.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1157, allocations: 3.938 kB / 391.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of Templates: time 0.006723/0.1225, allocations: 2.941 MB / 394.4 MB, free: 11.26 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_3.1_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1)