Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008557/0.0008557, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001027/0.001027, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.3 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003293, allocations: 4 kB / 306.8 MB, free: 1.465 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1188, allocations: 51.49 MB / 358.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.009362/0.1282, allocations: 8.59 MB / 366.9 MB, free: 5.352 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008055/0.1363, allocations: 3.113 MB / 370 MB, free: 2.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001894/0.1382, allocations: 63.88 kB / 370.1 MB, free: 2.168 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002561/0.1408, allocations: 0.5323 MB / 370.6 MB, free: 1.633 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004149/0.145, allocations: 1.253 MB / 371.9 MB, free: 388 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1778/0.3229, allocations: 0.8419 MB / 372.7 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02565/0.3485, allocations: 15.54 MB / 388.2 MB, free: 7.855 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02885/0.3774, allocations: 15.32 MB / 403.6 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00733/0.3848, allocations: 3.728 MB / 407.3 MB, free: 11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00796/0.3928, allocations: 4.558 MB / 411.9 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001903/0.3947, allocations: 0.582 MB / 412.4 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003777/0.3985, allocations: 0.8191 MB / 413.3 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002409/0.4009, allocations: 1.868 MB / 415.1 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003303/0.4043, allocations: 1.787 MB / 416.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01608/0.4204, allocations: 15.83 MB / 432.7 MB, free: 2.074 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4204, allocations: 3.938 kB / 432.7 MB, free: 2.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4204, allocations: 4 kB / 432.7 MB, free: 2.066 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004809/0.4209, allocations: 0 / 432.7 MB, free: 2.066 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.02796/0.4489, allocations: 10.86 MB / 443.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.4489, allocations: 8.031 kB / 443.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004788/0.4537, allocations: 1.328 MB / 444.9 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04436/0.4981, allocations: 8.544 MB / 453.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01222/0.5104, allocations: 5.893 MB / 459.4 MB, free: 7.547 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005474/0.5109, allocations: 0.6569 MB / 460 MB, free: 6.895 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003517/0.5145, allocations: 0.8675 MB / 460.9 MB, free: 6.035 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03871/0.5532, allocations: 15.91 MB / 476.8 MB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003251/0.5536, allocations: 15.89 kB / 476.8 MB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00254/0.5561, allocations: 364.3 kB / 477.2 MB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006049/0.5567, allocations: 0.5544 MB / 477.7 MB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03454/0.5913, allocations: 15.65 MB / 493.4 MB, free: 5.516 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08519/0.6765, allocations: 49.24 MB / 0.5299 GB, free: 3.012 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4113/1.088, allocations: 19.27 MB / 0.5487 GB, free: 110.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006851/1.095, allocations: 3.57 MB / 0.5522 GB, free: 110.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006828/1.095, allocations: 264.3 kB / 0.5525 GB, free: 110.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.814e-05/1.096, allocations: 83.34 kB / 0.5525 GB, free: 110 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 6.602e-06/1.096, allocations: 5.094 kB / 0.5525 GB, free: 110 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.03172/1.127, allocations: 13.48 MB / 0.5657 GB, free: 106.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/1.127, allocations: 129.3 kB / 0.5658 GB, free: 106.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005628/1.133, allocations: 3.809 MB / 0.5695 GB, free: 104.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008897/1.134, allocations: 101.4 kB / 0.5696 GB, free: 104.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002166/1.136, allocations: 3.898 MB / 0.5734 GB, free: 101.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002464/1.139, allocations: 1.606 MB / 0.575 GB, free: 100.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006616/1.139, allocations: 148.7 kB / 0.5752 GB, free: 100.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000544/1.14, allocations: 0.6141 MB / 0.5758 GB, free: 100.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005658/1.146, allocations: 3.655 MB / 0.5793 GB, free: 98.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006868/1.152, allocations: 6.502 MB / 0.5857 GB, free: 93.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006816/1.159, allocations: 5.19 MB / 0.5907 GB, free: 91.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.351e-05/1.159, allocations: 29.62 kB / 0.5908 GB, free: 91.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01963/1.179, allocations: 11.88 MB / 0.6024 GB, free: 81.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.602e-05/1.179, allocations: 44 kB / 0.6024 GB, free: 81.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000133/1.179, allocations: 96 kB / 0.6025 GB, free: 81.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004149/1.183, allocations: 1.629 MB / 0.6041 GB, free: 79.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006122/1.19, allocations: 1.657 MB / 0.6057 GB, free: 78.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01547/1.205, allocations: 16.19 MB / 0.6215 GB, free: 61.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006805/1.212, allocations: 0.9523 MB / 0.6225 GB, free: 60.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001518/1.213, allocations: 360 kB / 0.6228 GB, free: 59.85 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007294/1.221, allocations: 3.751 MB / 0.6265 GB, free: 56.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008962/1.222, allocations: 399.1 kB / 0.6268 GB, free: 55.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01327/1.235, allocations: 8.545 MB / 0.6352 GB, free: 47.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.003e-05/1.235, allocations: 52 kB / 0.6352 GB, free: 47.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.477e-05/1.235, allocations: 15.95 kB / 0.6353 GB, free: 47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.537e-05/1.235, allocations: 23.91 kB / 0.6353 GB, free: 46.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02742/1.263, allocations: 16.9 MB / 0.6518 GB, free: 30.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-05/1.263, allocations: 4 kB / 0.6518 GB, free: 30.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00338/1.266, allocations: 0.8581 MB / 0.6526 GB, free: 29.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003869/1.27, allocations: 1.495 MB / 0.6541 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007006/1.271, allocations: 105.2 kB / 0.6542 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0144/1.285, allocations: 15.99 MB / 0.6698 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.285, allocations: 11.94 kB / 0.6698 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01776/1.303, allocations: 12.16 MB / 0.6817 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003131/1.306, allocations: 1.116 MB / 0.6828 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007954/1.307, allocations: 88.06 kB / 0.6829 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002442/1.309, allocations: 303.6 kB / 0.6832 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006782/1.31, allocations: 320.8 kB / 0.6835 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003093/1.31, allocations: 139.9 kB / 0.6836 GB, free: 12.38 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004933/1.315, allocations: 2.547 MB / 0.6861 GB, free: 9.832 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.81e-07/1.315, allocations: 0 / 0.6861 GB, free: 9.832 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.008617/1.324, allocations: 2.381 MB / 0.6884 GB, free: 7.441 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_p.reference.gamma) * 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 (455): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02129/1.345, allocations: 12.9 MB / 0.701 GB, free: 10.33 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01851/1.364, allocations: 9.308 MB / 0.7101 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.757e-05/1.364, allocations: 2.625 kB / 0.7101 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2141/1.578, allocations: 4.461 MB / 0.7145 GB, free: 151.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008271/1.586, allocations: 0.7135 MB / 0.7152 GB, free: 151.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0893/1.676, allocations: 48.55 MB / 0.7626 GB, free: 126.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006433/1.682, allocations: 6.044 MB / 0.7685 GB, free: 120.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.007931/1.69, allocations: 3.257 MB / 0.7717 GB, free: 117.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004825/1.695, allocations: 3.038 MB / 0.7746 GB, free: 114.1 MB / 478.1 MB Notification: Performance of SimCode: time 1.213e-06/1.695, allocations: 0 / 0.7746 GB, free: 114.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3692/2.064, allocations: 121.9 MB / 0.8937 GB, free: 114.7 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/2.064, allocations: 252.3 kB / 0.8939 GB, free: 114.4 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.24/7.305, allocations: 3.469 kB / 0.8939 GB, free: 114.4 MB / 478.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat does not exist to compare? outputFormat=mat