Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo", uses=false) Using package OpenIMDML with version 1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Running command: "" <> buildModelFMU(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 4.519/4.519, allocations: 78.55 MB / 93.67 MB, free: 4.23 MB / 78.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 110.3 kB / 113.2 MB, free: 10.09 MB / 94.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 196 kB / 132.9 MB, free: 6.461 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 375.3 MB, free: 2.395 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 2.559/2.559, allocations: 62.43 MB / 0.4947 GB, free: 8.363 MB / 366.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 119.8 kB / 0.5745 GB, free: 6.648 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6477/0.6498, allocations: 69.5 MB / 0.6424 GB, free: 17.97 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM): time 0.005881/0.6558, allocations: 4.471 MB / 0.6468 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003265/0.6591, allocations: 1.261 MB / 0.648 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005487/0.6597, allocations: 10.06 kB / 0.648 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004216/0.6601, allocations: 94.84 kB / 0.6481 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005528/0.6607, allocations: 202.6 kB / 0.6483 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.6618, allocations: 0.5095 MB / 0.6488 GB, free: 12.76 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008563/0.6627, allocations: 0.8027 MB / 0.6496 GB, free: 12.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003004/0.663, allocations: 149.8 kB / 0.6497 GB, free: 12.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004632/0.6635, allocations: 315.3 kB / 0.65 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005497/0.664, allocations: 419.8 kB / 0.6504 GB, free: 11.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.6641, allocations: 39.88 kB / 0.6505 GB, free: 11.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000312/0.6645, allocations: 104.8 kB / 0.6506 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.6646, allocations: 143.9 kB / 0.6507 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002944/0.6649, allocations: 323.9 kB / 0.651 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000778/0.6657, allocations: 0.8044 MB / 0.6518 GB, free: 10.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.6657, allocations: 1.188 kB / 0.6518 GB, free: 10.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6657, allocations: 0 / 0.6518 GB, free: 10.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.487e-06/0.6657, allocations: 0 / 0.6518 GB, free: 10.77 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003579/0.6693, allocations: 1.21 MB / 0.653 GB, free: 9.891 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/0.6694, allocations: 9.625 kB / 0.653 GB, free: 9.891 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/0.6695, allocations: 85.83 kB / 0.6531 GB, free: 9.812 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.6706, allocations: 188 kB / 0.6533 GB, free: 9.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008018/0.6714, allocations: 493.7 kB / 0.6537 GB, free: 9.301 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.6715, allocations: 62.94 kB / 0.6538 GB, free: 9.254 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.6716, allocations: 48.88 kB / 0.6538 GB, free: 9.234 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.6727, allocations: 0.5502 MB / 0.6544 GB, free: 8.887 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.6728, allocations: 1.25 kB / 0.6544 GB, free: 8.887 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.464e-05/0.6728, allocations: 16.81 kB / 0.6544 GB, free: 8.875 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.6729, allocations: 10.72 kB / 0.6544 GB, free: 8.875 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.6739, allocations: 497.3 kB / 0.6549 GB, free: 8.637 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003407/0.6773, allocations: 2.103 MB / 0.6569 GB, free: 6.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.6785, allocations: 0.6228 MB / 0.6575 GB, free: 6.461 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005655/0.6791, allocations: 286.2 kB / 0.6578 GB, free: 6.309 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.888e-05/0.6791, allocations: 6.719 kB / 0.6578 GB, free: 6.309 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.6792, allocations: 41.75 kB / 0.6579 GB, free: 6.262 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 4.217e-06/0.6792, allocations: 0 / 0.6579 GB, free: 6.262 MB / 446.1 MB Notification: Performance of matching and sorting (n=52): time 0.008822/0.688, allocations: 2.845 MB / 0.6606 GB, free: 3.926 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.6881, allocations: 85.55 kB / 0.6607 GB, free: 3.824 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005158/0.6886, allocations: 0.4904 MB / 0.6612 GB, free: 3.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.6887, allocations: 37.7 kB / 0.6612 GB, free: 3.277 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.6888, allocations: 288 kB / 0.6615 GB, free: 2.992 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.689, allocations: 185.3 kB / 0.6617 GB, free: 2.809 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.6891, allocations: 86.25 kB / 0.6618 GB, free: 2.719 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.837e-05/0.6892, allocations: 374.7 kB / 0.6621 GB, free: 2.344 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004252/0.6896, allocations: 237 kB / 0.6623 GB, free: 2.113 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004761/0.6901, allocations: 349 kB / 0.6627 GB, free: 1.734 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009016/0.691, allocations: 0.5973 MB / 0.6633 GB, free: 1.098 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.691, allocations: 0 / 0.6633 GB, free: 1.098 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.007568/0.6986, allocations: 1.744 MB / 0.665 GB, free: 15.34 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.6987, allocations: 4 kB / 0.665 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.6987, allocations: 4 kB / 0.665 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007587/0.7063, allocations: 1.176 MB / 0.6661 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005777/0.7069, allocations: 103.9 kB / 0.6662 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01223/0.7191, allocations: 5.778 MB / 0.6719 GB, free: 8.012 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008293/0.72, allocations: 35.97 kB / 0.6719 GB, free: 7.977 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/0.7201, allocations: 23.94 kB / 0.6719 GB, free: 7.953 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003093/0.7204, allocations: 173.7 kB / 0.6721 GB, free: 7.773 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/0.7206, allocations: 55.34 kB / 0.6721 GB, free: 7.719 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004267/0.7249, allocations: 1.334 MB / 0.6734 GB, free: 6.367 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.7249, allocations: 7.938 kB / 0.6734 GB, free: 6.359 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.7249, allocations: 4 kB / 0.6735 GB, free: 6.355 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.725, allocations: 7.984 kB / 0.6735 GB, free: 6.348 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005271/0.7302, allocations: 2.106 MB / 0.6755 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.7303, allocations: 0 / 0.6755 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004455/0.7307, allocations: 83.89 kB / 0.6756 GB, free: 4.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002462/0.7332, allocations: 0.5831 MB / 0.6762 GB, free: 3.48 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-05/0.7332, allocations: 12 kB / 0.6762 GB, free: 3.469 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006592/0.7398, allocations: 4.369 MB / 0.6804 GB, free: 14.83 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.7399, allocations: 0 / 0.6804 GB, free: 14.83 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005086/0.745, allocations: 1.788 MB / 0.6822 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002821/0.7453, allocations: 140.4 kB / 0.6823 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.862e-05/0.7454, allocations: 12 kB / 0.6823 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005583/0.7459, allocations: 31.97 kB / 0.6824 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002493/0.7462, allocations: 68.27 kB / 0.6824 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.693e-05/0.7462, allocations: 16 kB / 0.6824 GB, free: 12.74 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004707/0.7467, allocations: 354.9 kB / 0.6828 GB, free: 12.39 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.7467, allocations: 0 / 0.6828 GB, free: 12.39 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008637/0.7476, allocations: 196 kB / 0.683 GB, free: 12.2 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (Inf.delta,Inf.eq,SPIM.Rotor_Inertia.w,SPIM.speed.phi,Inf.omega) * 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 (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (4,10,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005084/0.7527, allocations: 2.348 MB / 0.6853 GB, free: 9.816 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002173/0.7549, allocations: 0.8884 MB / 0.6861 GB, free: 8.918 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.7549, allocations: 0 / 0.6861 GB, free: 8.918 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001412/0.7563, allocations: 0.6796 MB / 0.6868 GB, free: 8.211 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007722/0.7571, allocations: 59.41 kB / 0.6869 GB, free: 8.156 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02204/0.7791, allocations: 7.813 MB / 0.6945 GB, free: 172 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004944/0.7797, allocations: 0.8833 MB / 0.6953 GB, free: 15.26 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003069/0.78, allocations: 56.34 kB / 0.6954 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000319/0.7803, allocations: 207.4 kB / 0.6956 GB, free: 15 MB / 494.1 MB Notification: Performance of SimCode: time 5.51e-07/0.7803, allocations: 0 / 0.6956 GB, free: 15 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03392/0.8143, allocations: 16.67 MB / 0.7119 GB, free: 14.58 MB / 0.4982 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00043/0.8148, allocations: 309.6 kB / 0.7122 GB, free: 14.17 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.302/3.117, allocations: 0 / 0.7122 GB, free: 14.17 MB / 0.4982 GB (rm -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM.fmu > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe 2>&1)