Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001059/0.001059, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001188/0.001188, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 59.84 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2141, allocations: 50.54 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.006837/0.221, allocations: 6.011 MB / 416 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002672/0.2237, allocations: 1.69 MB / 417.6 MB, free: 9.848 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004036/0.2241, allocations: 51.81 kB / 417.7 MB, free: 9.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005449/0.2247, allocations: 317.4 kB / 418 MB, free: 9.484 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008951/0.2256, allocations: 377.5 kB / 418.4 MB, free: 9.113 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005912/0.2262, allocations: 359.5 kB / 418.7 MB, free: 8.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001693/0.2279, allocations: 2.013 MB / 420.7 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00276/0.2306, allocations: 2.731 MB / 423.5 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009987/0.2317, allocations: 1.044 MB / 424.5 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/0.2329, allocations: 1.21 MB / 425.7 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003534/0.2333, allocations: 312 kB / 426 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006876/0.234, allocations: 463.7 kB / 426.5 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005714/0.2346, allocations: 0.7208 MB / 427.2 MB, free: 208 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.2357, allocations: 1.276 MB / 428.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003035/0.2387, allocations: 3.79 MB / 432.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2388, allocations: 4 kB / 432.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2388, allocations: 0 / 432.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.418e-05/0.2388, allocations: 0 / 432.3 MB, free: 11.12 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.004087/0.2429, allocations: 2.474 MB / 434.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.243, allocations: 8.031 kB / 434.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007862/0.2437, allocations: 270.2 kB / 435 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/0.2459, allocations: 1.322 MB / 436.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.246, allocations: 172.9 kB / 436.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002951/0.2463, allocations: 224 kB / 436.7 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004042/0.2504, allocations: 2.538 MB / 439.3 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.489e-05/0.2504, allocations: 0 / 439.3 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001929/0.2506, allocations: 92 kB / 439.4 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-05/0.2507, allocations: 56 kB / 439.4 MB, free: 3.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003356/0.2541, allocations: 2.149 MB / 441.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01038/0.2645, allocations: 7.471 MB / 449 MB, free: 9.961 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.2657, allocations: 1.262 MB / 450.3 MB, free: 8.566 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.2668, allocations: 0.6257 MB / 450.9 MB, free: 7.941 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.2668, allocations: 8.562 kB / 450.9 MB, free: 7.934 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.2668, allocations: 35.12 kB / 451 MB, free: 7.891 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.596e-06/0.2669, allocations: 4 kB / 451 MB, free: 7.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.003767/0.2706, allocations: 2.435 MB / 453.4 MB, free: 5.391 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.2707, allocations: 59.97 kB / 453.5 MB, free: 5.316 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009194/0.2716, allocations: 0.8011 MB / 454.3 MB, free: 4.504 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.338e-05/0.2717, allocations: 33.7 kB / 454.3 MB, free: 4.465 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005325/0.2722, allocations: 0.9254 MB / 455.2 MB, free: 3.523 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.2724, allocations: 228.7 kB / 455.4 MB, free: 3.297 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.2726, allocations: 142.6 kB / 455.6 MB, free: 3.148 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.2728, allocations: 394.8 kB / 456 MB, free: 2.754 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005617/0.2733, allocations: 369.8 kB / 456.3 MB, free: 2.395 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007438/0.2741, allocations: 0.575 MB / 456.9 MB, free: 1.723 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.2754, allocations: 0.9777 MB / 457.9 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.2754, allocations: 8 kB / 457.9 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001786/0.2772, allocations: 1.146 MB / 459 MB, free: 15.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.2773, allocations: 12.56 kB / 459 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.2773, allocations: 4 kB / 459 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002765/0.2776, allocations: 124.7 kB / 459.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006992/0.2783, allocations: 171.7 kB / 459.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.2806, allocations: 2.318 MB / 461.7 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005011/0.2811, allocations: 47.97 kB / 461.7 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.113e-05/0.2812, allocations: 28 kB / 461.7 MB, free: 12.65 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009484/0.2821, allocations: 0.6652 MB / 462.4 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.2823, allocations: 83 kB / 462.5 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002214/0.2825, allocations: 99.67 kB / 462.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.2825, allocations: 3.984 kB / 462.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2825, allocations: 3.938 kB / 462.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003757/0.2829, allocations: 232 kB / 462.8 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.283, allocations: 12 kB / 462.8 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004295/0.2835, allocations: 44.02 kB / 462.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.2836, allocations: 44.48 kB / 462.9 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001816/0.2854, allocations: 0.9951 MB / 463.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001971/0.2874, allocations: 1.419 MB / 465.3 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005323/0.2879, allocations: 384.4 kB / 465.7 MB, free: 8.609 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007113/0.2887, allocations: 0.5615 MB / 466.3 MB, free: 8.051 MB / 382.1 MB Notification: Performance of Backend: time 2.184e-06/0.2887, allocations: 3.938 kB / 466.3 MB, free: 8.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001712/0.2904, allocations: 0.8201 MB / 467.1 MB, free: 7.207 MB / 382.1 MB Notification: Performance of SimCode: time 0.005451/0.2959, allocations: 3.574 MB / 470.7 MB, free: 3.578 MB / 382.1 MB Notification: Performance of Templates: time 0.02478/0.3207, allocations: 13.72 MB / 484.4 MB, free: 5.98 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1)