Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009124/0.0009124, allocations: 102.3 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00108/0.00108, allocations: 192.9 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.427/1.427, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002299/0.00023, allocations: 4 kB / 306.8 MB, free: 1.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1204, allocations: 51.49 MB / 358.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.2145/0.335, allocations: 14.18 MB / 372.5 MB, free: 8.297 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009007/0.344, allocations: 3.765 MB / 376.3 MB, free: 8.254 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003117/0.3472, allocations: 123.8 kB / 376.4 MB, free: 8.254 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002552/0.3498, allocations: 0.6855 MB / 377.1 MB, free: 8.246 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00567/0.3554, allocations: 1.089 MB / 378.2 MB, free: 8.008 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003813/0.3593, allocations: 0.9185 MB / 379.1 MB, free: 7.934 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01196/0.3713, allocations: 7.564 MB / 386.6 MB, free: 6.082 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03869/0.41, allocations: 18.33 MB / 405 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007374/0.4174, allocations: 3.276 MB / 408.2 MB, free: 9.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007245/0.4247, allocations: 3.659 MB / 411.9 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001977/0.4267, allocations: 0.5469 MB / 412.4 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004181/0.4309, allocations: 0.8005 MB / 413.2 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002419/0.4334, allocations: 1.488 MB / 414.7 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004045/0.4375, allocations: 1.748 MB / 416.5 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01905/0.4565, allocations: 15.5 MB / 432 MB, free: 2.555 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.4566, allocations: 3.938 kB / 432 MB, free: 2.551 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4566, allocations: 2.625 kB / 432 MB, free: 2.551 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0006258/0.4572, allocations: 4 kB / 432 MB, free: 2.547 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: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.02608/0.4833, allocations: 8.597 MB / 440.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.4834, allocations: 8.031 kB / 440.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005519/0.4889, allocations: 1.294 MB / 441.9 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01977/0.5087, allocations: 3.759 MB / 445.7 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0109/0.5197, allocations: 5.131 MB / 450.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007728/0.5205, allocations: 0.6863 MB / 451.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003817/0.5243, allocations: 0.8827 MB / 452.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03323/0.5576, allocations: 12.67 MB / 465 MB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003385/0.558, allocations: 7.906 kB / 465 MB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00256/0.5606, allocations: 376 kB / 465.4 MB, free: 1.023 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004293/0.561, allocations: 403.1 kB / 465.8 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02771/0.5887, allocations: 11.35 MB / 477.1 MB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07742/0.6662, allocations: 44.27 MB / 0.5092 GB, free: 7.617 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0107/0.6769, allocations: 10.51 MB / 0.5195 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002766/0.6798, allocations: 1.718 MB / 0.5211 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003783/0.6802, allocations: 216.2 kB / 0.5213 GB, free: 9.895 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.566e-05/0.6802, allocations: 60.55 kB / 0.5214 GB, free: 9.828 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 5.831e-06/0.6802, allocations: 0 / 0.5214 GB, free: 9.828 MB / 446.1 MB Notification: Performance of matching and sorting (n=229): time 0.009138/0.6894, allocations: 4.747 MB / 0.526 GB, free: 5.055 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.6895, allocations: 77.41 kB / 0.5261 GB, free: 4.965 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004622/0.6941, allocations: 2.906 MB / 0.529 GB, free: 2.039 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003385/0.6945, allocations: 65.7 kB / 0.529 GB, free: 1.969 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.3779/1.072, allocations: 3.818 MB / 0.5327 GB, free: 127.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001044/1.073, allocations: 0.8089 MB / 0.5335 GB, free: 127.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002989/1.074, allocations: 90.84 kB / 0.5336 GB, free: 127.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002882/1.074, allocations: 0.4944 MB / 0.5341 GB, free: 127 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003736/1.078, allocations: 1.992 MB / 0.536 GB, free: 126.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005023/1.083, allocations: 4.18 MB / 0.5401 GB, free: 124.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006228/1.089, allocations: 3.038 MB / 0.5431 GB, free: 122.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001951/1.089, allocations: 21.38 kB / 0.5431 GB, free: 122.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.01434/1.104, allocations: 6.55 MB / 0.5495 GB, free: 120.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.508e-05/1.104, allocations: 37.12 kB / 0.5495 GB, free: 120.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001591/1.104, allocations: 75.45 kB / 0.5496 GB, free: 120.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009064/1.105, allocations: 416 kB / 0.55 GB, free: 120.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003673/1.109, allocations: 1.062 MB / 0.5511 GB, free: 120 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004779/1.113, allocations: 4.073 MB / 0.555 GB, free: 117.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00365/1.117, allocations: 0.622 MB / 0.5556 GB, free: 117 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000736/1.118, allocations: 245.3 kB / 0.5559 GB, free: 117 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (569): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005417/1.123, allocations: 3.367 MB / 0.5592 GB, free: 115.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005952/1.124, allocations: 278.9 kB / 0.5594 GB, free: 115.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005418/1.129, allocations: 3.653 MB / 0.563 GB, free: 113.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003421/1.133, allocations: 2.869 MB / 0.5658 GB, free: 112.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/1.133, allocations: 6.656 kB / 0.5658 GB, free: 112.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.181e-05/1.133, allocations: 15.23 kB / 0.5658 GB, free: 112.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/1.147, allocations: 10.03 MB / 0.5756 GB, free: 108.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/1.147, allocations: 5.031 kB / 0.5756 GB, free: 108.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00138/1.148, allocations: 414.6 kB / 0.576 GB, free: 108.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000619/1.149, allocations: 319.7 kB / 0.5763 GB, free: 108.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/1.149, allocations: 51.98 kB / 0.5764 GB, free: 108.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003587/1.153, allocations: 3.889 MB / 0.5802 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.153, allocations: 0 / 0.5802 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006142/1.159, allocations: 5.226 MB / 0.5853 GB, free: 99.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/1.16, allocations: 0.6219 MB / 0.5859 GB, free: 99.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003278/1.16, allocations: 40 kB / 0.5859 GB, free: 99.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/1.162, allocations: 135.9 kB / 0.586 GB, free: 98.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002712/1.162, allocations: 153.7 kB / 0.5862 GB, free: 98.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/1.162, allocations: 67.98 kB / 0.5863 GB, free: 98.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003288/1.165, allocations: 1.939 MB / 0.5882 GB, free: 96.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.31e-07/1.165, allocations: 0 / 0.5882 GB, free: 96.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006137/1.171, allocations: 1.953 MB / 0.5901 GB, free: 94.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.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 (218): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006817/1.178, allocations: 5.899 MB / 0.5958 GB, free: 88.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006955/1.185, allocations: 4.673 MB / 0.6004 GB, free: 84.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/1.185, allocations: 3.844 kB / 0.6004 GB, free: 84.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002638/1.188, allocations: 1.777 MB / 0.6021 GB, free: 82.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003191/1.191, allocations: 0.644 MB / 0.6028 GB, free: 81.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05758/1.249, allocations: 34.01 MB / 0.636 GB, free: 45.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01016/1.259, allocations: 5.645 MB / 0.6415 GB, free: 40.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005477/1.265, allocations: 1.702 MB / 0.6431 GB, free: 38.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005114/1.27, allocations: 2.721 MB / 0.6458 GB, free: 35.67 MB / 446.1 MB Notification: Performance of SimCode: time 2.114e-06/1.27, allocations: 0 / 0.6458 GB, free: 35.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3688/1.639, allocations: 87.35 MB / 0.7311 GB, free: 140.4 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/1.639, allocations: 229 kB / 0.7313 GB, free: 140.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.332/4.97, allocations: 0 / 0.7313 GB, free: 140.1 MB / 478.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat