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.001105/0.001105, allocations: 111 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001239/0.001239, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 67.88 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2284, allocations: 50.54 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.006912/0.2354, allocations: 6.019 MB / 416 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002853/0.2382, allocations: 1.69 MB / 417.6 MB, free: 9.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004739/0.2387, allocations: 47.81 kB / 417.7 MB, free: 9.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005724/0.2393, allocations: 313.4 kB / 418 MB, free: 9.504 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009593/0.2403, allocations: 365.5 kB / 418.4 MB, free: 9.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005719/0.2409, allocations: 355.5 kB / 418.7 MB, free: 8.797 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001678/0.2426, allocations: 2.017 MB / 420.7 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002697/0.2453, allocations: 2.735 MB / 423.5 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.2464, allocations: 1.044 MB / 424.5 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.2476, allocations: 1.206 MB / 425.7 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003437/0.2479, allocations: 308 kB / 426 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006714/0.2486, allocations: 455.7 kB / 426.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005526/0.2492, allocations: 0.7364 MB / 427.2 MB, free: 236 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.2503, allocations: 1.272 MB / 428.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003059/0.2533, allocations: 3.794 MB / 432.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2534, allocations: 0 / 432.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2534, allocations: 0 / 432.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.244e-05/0.2534, allocations: 0 / 432.3 MB, free: 11.15 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.00383/0.2572, allocations: 2.474 MB / 434.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.2573, allocations: 8.031 kB / 434.7 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007533/0.2581, allocations: 262.2 kB / 435 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/0.2603, allocations: 1.329 MB / 436.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.2604, allocations: 164.9 kB / 436.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002696/0.2607, allocations: 228 kB / 436.7 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003757/0.2644, allocations: 2.545 MB / 439.2 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.947e-05/0.2645, allocations: 0 / 439.2 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/0.2647, allocations: 92 kB / 439.3 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.456e-05/0.2647, allocations: 56 kB / 439.4 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003229/0.268, allocations: 2.141 MB / 441.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01009/0.2781, allocations: 7.475 MB / 449 MB, free: 9.988 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.2792, allocations: 1.269 MB / 450.3 MB, free: 8.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.2803, allocations: 0.6218 MB / 450.9 MB, free: 7.969 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.2803, allocations: 8.562 kB / 450.9 MB, free: 7.961 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.2804, allocations: 39.12 kB / 450.9 MB, free: 7.914 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.315e-06/0.2804, allocations: 0 / 450.9 MB, free: 7.914 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.003757/0.2841, allocations: 2.431 MB / 453.4 MB, free: 5.422 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.2842, allocations: 63.73 kB / 453.4 MB, free: 5.348 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009198/0.2851, allocations: 0.8011 MB / 454.2 MB, free: 4.535 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.995e-05/0.2852, allocations: 41.7 kB / 454.3 MB, free: 4.488 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005312/0.2857, allocations: 0.9176 MB / 455.2 MB, free: 3.555 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/0.2859, allocations: 228.7 kB / 455.4 MB, free: 3.328 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/0.2861, allocations: 146.6 kB / 455.6 MB, free: 3.176 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.2863, allocations: 386.8 kB / 455.9 MB, free: 2.789 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005493/0.2868, allocations: 369.8 kB / 456.3 MB, free: 2.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006982/0.2875, allocations: 0.5789 MB / 456.9 MB, free: 1.754 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.2889, allocations: 0.9777 MB / 457.9 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.2889, allocations: 8 kB / 457.9 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001756/0.2906, allocations: 1.155 MB / 459 MB, free: 15.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.2907, allocations: 11.94 kB / 459 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/0.2907, allocations: 8 kB / 459 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002851/0.291, allocations: 108.7 kB / 459.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006857/0.2917, allocations: 175.8 kB / 459.3 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/0.294, allocations: 2.325 MB / 461.6 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004665/0.2945, allocations: 39.97 kB / 461.7 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.545e-05/0.2946, allocations: 32 kB / 461.7 MB, free: 12.68 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.000981/0.2956, allocations: 0.6652 MB / 462.4 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.2958, allocations: 83 kB / 462.5 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.2959, allocations: 103.7 kB / 462.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.296, allocations: 0 / 462.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.296, allocations: 0 / 462.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003761/0.2963, allocations: 228 kB / 462.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-05/0.2964, allocations: 12 kB / 462.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003923/0.2968, allocations: 39.95 kB / 462.8 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.297, allocations: 52.42 kB / 462.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001738/0.2987, allocations: 0.9951 MB / 463.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001928/0.3007, allocations: 1.415 MB / 465.3 MB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005333/0.3012, allocations: 388.2 kB / 465.7 MB, free: 8.641 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007648/0.302, allocations: 0.5615 MB / 466.2 MB, free: 8.082 MB / 382.1 MB Notification: Performance of Backend: time 3.256e-06/0.302, allocations: 4.375 kB / 466.2 MB, free: 8.078 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001723/0.3037, allocations: 0.8197 MB / 467.1 MB, free: 7.242 MB / 382.1 MB Notification: Performance of SimCode: time 0.005082/0.3088, allocations: 3.573 MB / 470.6 MB, free: 3.613 MB / 382.1 MB Notification: Performance of Templates: time 0.02391/0.3327, allocations: 13.72 MB / 484.4 MB, free: 6.016 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)