Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.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: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 99.78 kB / 16.94 MB, free: 5.984 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.0009963/0.0009965, allocations: 180.2 kB / 17.82 MB, free: 5.652 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.625/1.625, allocations: 205.4 MB / 224 MB, free: 13.18 MB / 190.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.0005007/0.0005007, allocations: 16 kB / 280.9 MB, free: 3.648 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1151, allocations: 47.57 MB / 328.4 MB, free: 4.008 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01425/0.1294, allocations: 13.55 MB / 342 MB, free: 6.402 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009074/0.1386, allocations: 3.993 MB / 346 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003115/0.1417, allocations: 111.7 kB / 346.1 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002391/0.1441, allocations: 0.7575 MB / 346.8 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005288/0.1494, allocations: 1.27 MB / 348.1 MB, free: 256 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002735/0.1522, allocations: 0.9122 MB / 349 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009424/0.1616, allocations: 5.58 MB / 354.6 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03378/0.1955, allocations: 18.17 MB / 372.8 MB, free: 7.469 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005949/0.2015, allocations: 3.126 MB / 375.9 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006161/0.2077, allocations: 3.54 MB / 379.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001694/0.2094, allocations: 0.5508 MB / 380 MB, free: 232 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2072/0.4166, allocations: 0.749 MB / 380.7 MB, free: 24.78 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003373/0.42, allocations: 1.563 MB / 382.3 MB, free: 24.78 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004477/0.4245, allocations: 1.797 MB / 384.1 MB, free: 24.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01962/0.4442, allocations: 15.65 MB / 399.7 MB, free: 18.64 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4442, allocations: 0 / 399.7 MB, free: 18.64 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.4442, allocations: 0 / 399.7 MB, free: 18.64 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0006869/0.4449, allocations: 6.047 kB / 399.7 MB, free: 18.64 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: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.03086/0.4758, allocations: 8.845 MB / 408.6 MB, free: 14.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.4758, allocations: 9.562 kB / 408.6 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007698/0.4835, allocations: 1.351 MB / 410 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03117/0.5147, allocations: 5.599 MB / 415.6 MB, free: 11.74 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01344/0.5283, allocations: 4.78 MB / 420.3 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006094/0.5289, allocations: 0.7029 MB / 421 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004913/0.5338, allocations: 0.9282 MB / 422 MB, free: 9.445 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04333/0.5772, allocations: 13.47 MB / 435.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003309/0.5775, allocations: 7.984 kB / 435.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004021/0.5816, allocations: 389.2 kB / 435.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004724/0.5821, allocations: 459.9 kB / 436.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03101/0.6131, allocations: 12.76 MB / 449 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09028/0.7034, allocations: 47.06 MB / 496.1 MB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01653/0.72, allocations: 17.1 MB / 0.5012 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01264/0.7327, allocations: 6.174 MB / 0.5072 GB, free: 7.637 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.677e-05/0.7328, allocations: 60.56 kB / 0.5072 GB, free: 7.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=196): time 3.867e-06/0.7328, allocations: 0 / 0.5072 GB, free: 7.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=196): time 0.008286/0.7411, allocations: 4.751 MB / 0.5119 GB, free: 2.734 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.7411, allocations: 73.41 kB / 0.512 GB, free: 2.648 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005339/0.7465, allocations: 3.297 MB / 0.5152 GB, free: 15.33 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002844/0.7468, allocations: 53.7 kB / 0.5152 GB, free: 15.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002992/0.7498, allocations: 4.173 MB / 0.5193 GB, free: 11.08 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001159/0.751, allocations: 0.7154 MB / 0.52 GB, free: 10.37 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002973/0.7513, allocations: 100 kB / 0.5201 GB, free: 10.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003597/0.7516, allocations: 0.5129 MB / 0.5206 GB, free: 9.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003349/0.755, allocations: 2.071 MB / 0.5226 GB, free: 7.672 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00478/0.7598, allocations: 4.691 MB / 0.5272 GB, free: 1.734 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2448/1.005, allocations: 3.219 MB / 0.5303 GB, free: 134.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001256/1.005, allocations: 28.66 kB / 0.5304 GB, free: 134.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.01339/1.018, allocations: 7.07 MB / 0.5373 GB, free: 134.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.686e-05/1.018, allocations: 47.44 kB / 0.5373 GB, free: 134.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001253/1.018, allocations: 94 kB / 0.5374 GB, free: 134.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008239/1.019, allocations: 442.3 kB / 0.5378 GB, free: 134 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003639/1.023, allocations: 1.177 MB / 0.539 GB, free: 133.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004063/1.027, allocations: 4.165 MB / 0.543 GB, free: 131.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004211/1.031, allocations: 0.7132 MB / 0.5437 GB, free: 131.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000585/1.032, allocations: 288.7 kB / 0.544 GB, free: 131 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 416 * 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 (626): * Single equations (assignments): 621 * 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.007109/1.039, allocations: 3.484 MB / 0.5474 GB, free: 129.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000671/1.04, allocations: 291 kB / 0.5477 GB, free: 129.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004625/1.044, allocations: 3.42 MB / 0.551 GB, free: 127.9 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003108/1.047, allocations: 2.642 MB / 0.5536 GB, free: 126.9 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.047, allocations: 7.531 kB / 0.5536 GB, free: 126.9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/1.047, allocations: 11.64 kB / 0.5536 GB, free: 126.9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01854/1.066, allocations: 9.443 MB / 0.5629 GB, free: 120.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/1.066, allocations: 4 kB / 0.5629 GB, free: 120.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/1.067, allocations: 360.1 kB / 0.5632 GB, free: 120 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000662/1.068, allocations: 313.8 kB / 0.5635 GB, free: 119.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/1.068, allocations: 47.59 kB / 0.5635 GB, free: 119.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003777/1.072, allocations: 3.979 MB / 0.5674 GB, free: 116.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.072, allocations: 0 / 0.5674 GB, free: 116.1 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005558/1.078, allocations: 4.856 MB / 0.5722 GB, free: 111.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001467/1.079, allocations: 0.6309 MB / 0.5728 GB, free: 111.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003094/1.079, allocations: 37.97 kB / 0.5728 GB, free: 111.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/1.081, allocations: 126.1 kB / 0.5729 GB, free: 111.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002344/1.081, allocations: 129.1 kB / 0.5731 GB, free: 111.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/1.081, allocations: 55.98 kB / 0.5731 GB, free: 111 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00293/1.084, allocations: 2.166 MB / 0.5752 GB, free: 109 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/1.084, allocations: 0 / 0.5752 GB, free: 109 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005466/1.089, allocations: 2.039 MB / 0.5772 GB, free: 106.9 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (183): * Single equations (assignments): 178 * 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.005895/1.095, allocations: 5.563 MB / 0.5827 GB, free: 101.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008387/1.104, allocations: 4.789 MB / 0.5873 GB, free: 96.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/1.104, allocations: 8.25 kB / 0.5873 GB, free: 96.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002714/1.106, allocations: 1.649 MB / 0.589 GB, free: 94.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003829/1.11, allocations: 0.6262 MB / 0.5896 GB, free: 94.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08635/1.197, allocations: 98.12 MB / 0.6854 GB, free: 9.508 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01148/1.208, allocations: 5.929 MB / 0.6912 GB, free: 3.543 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005308/1.214, allocations: 1.828 MB / 0.693 GB, free: 1.711 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1909/1.404, allocations: 2.841 MB / 0.6957 GB, free: 146.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.302e-06/1.405, allocations: 0 / 0.6957 GB, free: 146.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1277/1.532, allocations: 89.44 MB / 0.7831 GB, free: 76.41 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/1.532, allocations: 223.5 kB / 0.7833 GB, free: 76.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.279/4.812, allocations: 0 / 0.7833 GB, free: 76.17 MB / 446.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat