Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001638/0.001638, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 227.2 MB / 245 MB, free: 7.609 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009928/0.0009929, allocations: 95.12 kB / 297.2 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002368/0.0002369, allocations: 12 kB / 358 MB, free: 9.453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2145, allocations: 51.48 MB / 409.5 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09471/0.3093, allocations: 79.12 MB / 488.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.3096, allocations: 68.5 kB / 488.7 MB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0163/0.3259, allocations: 5.988 MB / 494.7 MB, free: 5.441 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3259, allocations: 0 / 494.7 MB, free: 5.441 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.996e-05/0.326, allocations: 8 kB / 494.7 MB, free: 5.434 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0009856/0.327, allocations: 0.62 MB / 495.3 MB, free: 4.766 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.327, allocations: 12.03 kB / 495.3 MB, free: 4.754 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001233/0.3272, allocations: 82.47 kB / 495.4 MB, free: 4.664 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002409/0.3274, allocations: 67.36 kB / 495.5 MB, free: 4.598 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.3278, allocations: 279.2 kB / 495.7 MB, free: 4.281 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.3278, allocations: 29 kB / 495.8 MB, free: 4.254 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.251e-05/0.3279, allocations: 44 kB / 495.8 MB, free: 4.211 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007064/0.3286, allocations: 447.3 kB / 496.2 MB, free: 3.738 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.3286, allocations: 0 / 496.2 MB, free: 3.738 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.274e-05/0.3287, allocations: 19.98 kB / 496.3 MB, free: 3.719 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.3287, allocations: 8 kB / 496.3 MB, free: 3.711 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000558/0.3293, allocations: 279.9 kB / 496.5 MB, free: 3.441 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/0.3311, allocations: 1.334 MB / 497.9 MB, free: 2.016 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004294/0.3316, allocations: 258 kB / 498.1 MB, free: 1.754 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.3316, allocations: 4 kB / 498.1 MB, free: 1.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.047e-05/0.3317, allocations: 42.55 kB / 498.2 MB, free: 1.699 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.643e-06/0.3317, allocations: 0 / 498.2 MB, free: 1.699 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001299/0.333, allocations: 0.5619 MB / 498.7 MB, free: 1.109 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.3331, allocations: 235.3 kB / 499 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.3333, allocations: 190.1 kB / 499.1 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.3333, allocations: 29.7 kB / 499.2 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.3334, allocations: 196.3 kB / 499.4 MB, free: 412 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.2e-05/0.3335, allocations: 106.4 kB / 499.5 MB, free: 304 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.548e-05/0.3335, allocations: 8 kB / 499.5 MB, free: 296 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.3337, allocations: 342.8 kB / 499.8 MB, free: 15.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.3338, allocations: 79.97 kB / 499.9 MB, free: 15.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.334, allocations: 155.4 kB / 0.4883 GB, free: 15.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.3342, allocations: 112.1 kB / 0.4884 GB, free: 15.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3343, allocations: 0 / 0.4884 GB, free: 15.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004484/0.3347, allocations: 280.8 kB / 0.4887 GB, free: 15.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.3347, allocations: 4 kB / 0.4887 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3348, allocations: 7.953 kB / 0.4887 GB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3348, allocations: 4.031 kB / 0.4887 GB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003448/0.3351, allocations: 79.89 kB / 0.4888 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.3351, allocations: 7.984 kB / 0.4888 GB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.3353, allocations: 31.69 kB / 0.4888 GB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.3353, allocations: 8 kB / 0.4888 GB, free: 15.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001508/0.3355, allocations: 149.8 kB / 0.489 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.041e-05/0.3356, allocations: 19.81 kB / 0.489 GB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.02e-05/0.3356, allocations: 38.64 kB / 0.489 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.3357, allocations: 11.95 kB / 0.489 GB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.3357, allocations: 4 kB / 0.489 GB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3357, allocations: 0 / 0.489 GB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.3361, allocations: 393.2 kB / 0.4894 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3361, allocations: 0 / 0.4894 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/0.3364, allocations: 55.91 kB / 0.4895 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003014/0.3367, allocations: 92.73 kB / 0.4896 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.3368, allocations: 8 kB / 0.4896 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001835/0.3386, allocations: 1.869 MB / 0.4914 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3386, allocations: 0 / 0.4914 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000748/0.3394, allocations: 0.5059 MB / 0.4919 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.882e-05/0.3395, allocations: 108.8 kB / 0.492 GB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.3395, allocations: 16.02 kB / 0.492 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.3397, allocations: 8 kB / 0.492 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.698e-05/0.3398, allocations: 23.95 kB / 0.492 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.3398, allocations: 8 kB / 0.492 GB, free: 11.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001182/0.3399, allocations: 148.4 kB / 0.4922 GB, free: 11.49 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3399, allocations: 0 / 0.4922 GB, free: 11.49 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000382/0.3403, allocations: 115.6 kB / 0.4923 GB, free: 11.38 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * 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 (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001055/0.3414, allocations: 1.073 MB / 0.4933 GB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000402/0.3418, allocations: 227.9 kB / 0.4936 GB, free: 10.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3418, allocations: 0 / 0.4936 GB, free: 10.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004497/0.3422, allocations: 274.5 kB / 0.4938 GB, free: 9.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.3425, allocations: 28.05 kB / 0.4939 GB, free: 9.742 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/0.3453, allocations: 2.078 MB / 0.4959 GB, free: 7.609 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.3457, allocations: 0.7989 MB / 0.4967 GB, free: 6.785 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.3458, allocations: 21.94 kB / 0.4967 GB, free: 6.762 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.3459, allocations: 95.41 kB / 0.4968 GB, free: 6.668 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3459, allocations: 0 / 0.4968 GB, free: 6.668 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.364, allocations: 5.352 MB / 0.502 GB, free: 1.473 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002341/0.3642, allocations: 207 kB / 0.5022 GB, free: 1.227 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.187, allocations: 0 / 0.5022 GB, free: 1.227 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat does not exist to compare? outputFormat=mat