Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002145/0.002145, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.076/2.076, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 90.64 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.902e-05/2.915e-05, allocations: 0 / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09656/0.09662, allocations: 47.57 MB / 369.2 MB, free: 2.117 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4212/0.5179, allocations: 89.34 MB / 458.5 MB, free: 3.953 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/0.5183, allocations: 86.77 kB / 458.6 MB, free: 3.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.039/1.558, allocations: 218.3 MB / 0.6611 GB, free: 21.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.286e-06/1.558, allocations: 4 kB / 0.6611 GB, free: 21.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003379/1.558, allocations: 131.9 kB / 0.6612 GB, free: 20.99 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.0292/1.587, allocations: 6.18 MB / 0.6673 GB, free: 14.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/1.587, allocations: 12.03 kB / 0.6673 GB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004774/1.592, allocations: 1.125 MB / 0.6684 GB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03092/1.623, allocations: 3.517 MB / 0.6718 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01262/1.636, allocations: 3.956 MB / 0.6757 GB, free: 6.051 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008914/1.637, allocations: 0.4895 MB / 0.6761 GB, free: 5.559 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003264/1.64, allocations: 0.6327 MB / 0.6768 GB, free: 4.926 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3463/1.986, allocations: 10.77 MB / 0.6873 GB, free: 48.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004207/1.987, allocations: 7.688 kB / 0.6873 GB, free: 48.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002907/1.99, allocations: 279.2 kB / 0.6876 GB, free: 48.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009362/1.991, allocations: 468.5 kB / 0.688 GB, free: 48.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03195/2.023, allocations: 9.599 MB / 0.6974 GB, free: 48.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09404/2.117, allocations: 33.56 MB / 0.7301 GB, free: 44.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02034/2.137, allocations: 13.3 MB / 0.7431 GB, free: 33.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.011/2.148, allocations: 4.774 MB / 0.7478 GB, free: 31.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0425/2.191, allocations: 15.18 MB / 0.7626 GB, free: 24.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.333e-05/2.191, allocations: 78.44 kB / 0.7627 GB, free: 24.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=480): time 9.327e-06/2.191, allocations: 0 / 0.7627 GB, free: 24.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=480): time 0.02098/2.212, allocations: 7.791 MB / 0.7703 GB, free: 20.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.96e-05/2.212, allocations: 116.3 kB / 0.7704 GB, free: 20.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003557/2.216, allocations: 1.54 MB / 0.7719 GB, free: 20.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001048/2.217, allocations: 83.55 kB / 0.772 GB, free: 20.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001592/2.218, allocations: 2.414 MB / 0.7744 GB, free: 18.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002564/2.221, allocations: 1.589 MB / 0.7759 GB, free: 17.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008383/2.222, allocations: 85.09 kB / 0.776 GB, free: 17.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005039/2.223, allocations: 0.5256 MB / 0.7765 GB, free: 16.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007434/2.23, allocations: 3.078 MB / 0.7795 GB, free: 15.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008893/2.239, allocations: 4.129 MB / 0.7835 GB, free: 13.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009099/2.248, allocations: 3.753 MB / 0.7872 GB, free: 11.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-05/2.248, allocations: 7.438 kB / 0.7872 GB, free: 11.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=674) (initialization): time 0.02424/2.272, allocations: 9.239 MB / 0.7962 GB, free: 3.824 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.102e-05/2.273, allocations: 16 kB / 0.7963 GB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.278e-05/2.273, allocations: 32 kB / 0.7963 GB, free: 3.777 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007511/2.28, allocations: 2.707 MB / 0.7989 GB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006168/2.286, allocations: 0.7513 MB / 0.7997 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01723/2.304, allocations: 9.653 MB / 0.8091 GB, free: 7.754 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006085/2.31, allocations: 0.5074 MB / 0.8096 GB, free: 7.277 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001824/2.312, allocations: 211.6 kB / 0.8098 GB, free: 7.086 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 132 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (432): * Single equations (assignments): 374 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 6 {6 9,6 9,6 51,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.002779/2.314, allocations: 340.1 kB / 0.8101 GB, free: 6.797 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001607/2.316, allocations: 271.8 kB / 0.8104 GB, free: 6.535 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02644/2.343, allocations: 8.608 MB / 0.8188 GB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002899/2.343, allocations: 140.9 kB / 0.8189 GB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.961e-05/2.343, allocations: 0 / 0.8189 GB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.55e-05/2.343, allocations: 19.03 kB / 0.8189 GB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01889/2.362, allocations: 7.058 MB / 0.8258 GB, free: 9.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.692e-05/2.362, allocations: 5.703 kB / 0.8258 GB, free: 9.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004297/2.366, allocations: 432.7 kB / 0.8262 GB, free: 9.277 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008411/2.375, allocations: 2.656 MB / 0.8288 GB, free: 7.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001141/2.376, allocations: 105 kB / 0.8289 GB, free: 6.934 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01626/2.392, allocations: 9.593 MB / 0.8383 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/2.392, allocations: 4 kB / 0.8383 GB, free: 13.83 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03559/2.428, allocations: 12.63 MB / 0.8506 GB, free: 2.645 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/2.429, allocations: 431.8 kB / 0.8511 GB, free: 2.215 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001485/2.431, allocations: 63.42 kB / 0.8511 GB, free: 2.156 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003476/2.434, allocations: 133.8 kB / 0.8512 GB, free: 2.051 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001781/2.436, allocations: 361.2 kB / 0.8516 GB, free: 1.828 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008129/2.437, allocations: 130.1 kB / 0.8517 GB, free: 1.715 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002878/2.44, allocations: 1.12 MB / 0.8528 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.32e-07/2.44, allocations: 0 / 0.8528 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.325/2.765, allocations: 1.621 MB / 0.8544 GB, free: 94.9 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (resistor2_1.pin_p.reference.gamma,currentSensorN.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 6 {6 9,6 9,6 51,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.03813/2.803, allocations: 13.39 MB / 0.8675 GB, free: 93.82 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0224/2.826, allocations: 7.525 MB / 0.8748 GB, free: 93.57 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/2.826, allocations: 0.5469 kB / 0.8748 GB, free: 93.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01125/2.837, allocations: 3.787 MB / 0.8785 GB, free: 93.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004907/2.842, allocations: 442.6 kB / 0.8789 GB, free: 93.39 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04152/2.884, allocations: 13.52 MB / 0.8921 GB, free: 91.59 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008217/2.892, allocations: 4.296 MB / 0.8963 GB, free: 90.79 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005388/2.897, allocations: 2.148 MB / 0.8984 GB, free: 90.78 MB / 458.7 MB Notification: Performance of SimCode: time 1.793e-06/2.897, allocations: 0 / 0.8984 GB, free: 90.78 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.112/8.01, allocations: 335 MB / 1.226 GB, free: 109.4 MB / 474.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat