Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.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.MultiDomainDPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainDPIM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainDPIM",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 0.4025/0.4025, allocations: 78.54 MB / 94.04 MB, free: 3.816 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.001369/0.001369, allocations: 112.9 kB / 113.6 MB, free: 9.879 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.001812/0.001812, allocations: 198.6 kB / 133.3 MB, free: 6.234 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.625/1.625, allocations: 222.9 MB / 375.7 MB, free: 3.855 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.9871/0.9871, allocations: 62.26 MB / 0.4949 GB, free: 7.875 MB / 366.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002731/0.002732, allocations: 131.8 kB / 0.5751 GB, free: 6.535 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.919/0.9217, allocations: 69.49 MB / 0.643 GB, free: 18.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM): time 0.008794/0.9306, allocations: 4.667 MB / 0.6475 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003885/0.9345, allocations: 1.389 MB / 0.6489 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004581/0.935, allocations: 4.781 kB / 0.6489 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005438/0.9356, allocations: 133.6 kB / 0.649 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006876/0.9363, allocations: 257.1 kB / 0.6493 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.9376, allocations: 0.6035 MB / 0.6498 GB, free: 12.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001378/0.939, allocations: 1.048 MB / 0.6509 GB, free: 11.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004116/0.9394, allocations: 182 kB / 0.651 GB, free: 11.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000556/0.94, allocations: 434.3 kB / 0.6515 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008419/0.9408, allocations: 0.5302 MB / 0.652 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002334/0.9411, allocations: 89.28 kB / 0.6521 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004502/0.9415, allocations: 151.6 kB / 0.6522 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.9418, allocations: 218.7 kB / 0.6524 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004407/0.9422, allocations: 431.2 kB / 0.6528 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.9435, allocations: 1.012 MB / 0.6538 GB, free: 9.781 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.9435, allocations: 0 / 0.6538 GB, free: 9.781 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.9435, allocations: 0 / 0.6538 GB, free: 9.781 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.9435, allocations: 5.156 kB / 0.6538 GB, free: 9.777 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.004947/0.9485, allocations: 1.413 MB / 0.6552 GB, free: 8.812 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.002e-05/0.9486, allocations: 13.19 kB / 0.6552 GB, free: 8.809 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001712/0.9488, allocations: 96.7 kB / 0.6553 GB, free: 8.723 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.9499, allocations: 198.8 kB / 0.6555 GB, free: 8.637 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009425/0.9509, allocations: 0.5211 MB / 0.656 GB, free: 8.176 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/0.9511, allocations: 77.75 kB / 0.6561 GB, free: 8.121 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.9512, allocations: 61.91 kB / 0.6561 GB, free: 8.098 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/0.9529, allocations: 0.7614 MB / 0.6569 GB, free: 7.613 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/0.953, allocations: 9.109 kB / 0.6569 GB, free: 7.605 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.439e-05/0.9531, allocations: 21.75 kB / 0.6569 GB, free: 7.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-05/0.9531, allocations: 13.97 kB / 0.6569 GB, free: 7.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/0.9553, allocations: 0.8326 MB / 0.6577 GB, free: 7.199 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004913/0.9602, allocations: 2.864 MB / 0.6605 GB, free: 4.707 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.962, allocations: 1.136 MB / 0.6616 GB, free: 3.484 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007278/0.9627, allocations: 443.5 kB / 0.6621 GB, free: 3.047 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.984e-05/0.9628, allocations: 8.656 kB / 0.6621 GB, free: 3.039 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.9629, allocations: 43.22 kB / 0.6621 GB, free: 2.984 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 2.023e-06/0.9629, allocations: 3.938 kB / 0.6621 GB, free: 2.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=81): time 0.01185/0.9747, allocations: 3.883 MB / 0.6659 GB, free: 15.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.47e-05/0.9749, allocations: 85.77 kB / 0.666 GB, free: 14.92 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008737/0.9758, allocations: 0.5263 MB / 0.6665 GB, free: 14.38 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.814e-05/0.9758, allocations: 41.7 kB / 0.6665 GB, free: 14.33 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/0.9762, allocations: 312.6 kB / 0.6668 GB, free: 14.02 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003112/0.9765, allocations: 283.9 kB / 0.6671 GB, free: 13.74 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002915/0.9768, allocations: 130.6 kB / 0.6672 GB, free: 13.61 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000248/0.9771, allocations: 370.8 kB / 0.6676 GB, free: 13.24 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008259/0.9779, allocations: 365.8 kB / 0.6679 GB, free: 12.88 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009986/0.9789, allocations: 0.4991 MB / 0.6684 GB, free: 12.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.9807, allocations: 0.8789 MB / 0.6693 GB, free: 11.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.9807, allocations: 0 / 0.6693 GB, free: 11.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.005159/0.9859, allocations: 1.723 MB / 0.671 GB, free: 9.668 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/0.9859, allocations: 8 kB / 0.671 GB, free: 9.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.986, allocations: 7.938 kB / 0.671 GB, free: 9.652 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002438/0.9884, allocations: 0.5753 MB / 0.6715 GB, free: 9.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008064/0.9892, allocations: 131.8 kB / 0.6717 GB, free: 8.941 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01129/1.001, allocations: 5.77 MB / 0.6773 GB, free: 2.887 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/1.002, allocations: 52.03 kB / 0.6774 GB, free: 2.836 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/1.002, allocations: 28 kB / 0.6774 GB, free: 2.809 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (74): * Single equations (assignments): 72 * 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,18,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005849/1.003, allocations: 193.6 kB / 0.6776 GB, free: 2.609 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003496/1.003, allocations: 71.16 kB / 0.6776 GB, free: 2.539 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005507/1.009, allocations: 1.704 MB / 0.6793 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/1.009, allocations: 11.94 kB / 0.6793 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.243e-05/1.009, allocations: 4.188 kB / 0.6793 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/1.009, allocations: 3.984 kB / 0.6793 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007424/1.016, allocations: 2.668 MB / 0.6819 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/1.016, allocations: 4 kB / 0.6819 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008333/1.017, allocations: 111.9 kB / 0.682 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00231/1.019, allocations: 0.5457 MB / 0.6826 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-05/1.019, allocations: 27.92 kB / 0.6826 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01002/1.029, allocations: 5.342 MB / 0.6878 GB, free: 7.723 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.029, allocations: 0 / 0.6878 GB, free: 7.723 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006759/1.036, allocations: 2.324 MB / 0.6901 GB, free: 5.375 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004018/1.037, allocations: 148.3 kB / 0.6902 GB, free: 5.211 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002412/1.037, allocations: 16 kB / 0.6902 GB, free: 5.195 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/1.038, allocations: 39.97 kB / 0.6903 GB, free: 5.156 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005161/1.039, allocations: 84.53 kB / 0.6904 GB, free: 5.074 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.717e-05/1.039, allocations: 23.94 kB / 0.6904 GB, free: 5.051 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007905/1.039, allocations: 382.8 kB / 0.6907 GB, free: 4.68 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.81e-07/1.039, allocations: 0 / 0.6907 GB, free: 4.68 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00152/1.041, allocations: 247.9 kB / 0.691 GB, free: 4.438 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,DPIM.Rotor_Inertia.w,DPIM.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 (58): * Single equations (assignments): 56 * 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,18,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006783/1.048, allocations: 2.886 MB / 0.6938 GB, free: 1.516 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003517/1.051, allocations: 1.345 MB / 0.6951 GB, free: 152 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/1.051, allocations: 0 / 0.6951 GB, free: 152 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00202/1.053, allocations: 0.8821 MB / 0.696 GB, free: 15.24 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000804/1.054, allocations: 76.89 kB / 0.696 GB, free: 15.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0194/1.074, allocations: 8.274 MB / 0.7041 GB, free: 6.684 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007606/1.074, allocations: 0.9278 MB / 0.705 GB, free: 5.727 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005453/1.075, allocations: 77.08 kB / 0.7051 GB, free: 5.652 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004728/1.075, allocations: 259.3 kB / 0.7054 GB, free: 5.402 MB / 494.1 MB Notification: Performance of SimCode: time 1.463e-06/1.075, allocations: 0 / 0.7054 GB, free: 5.402 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06759/1.143, allocations: 17.86 MB / 0.7228 GB, free: 3.754 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.23/19.37, allocations: 9.531 kB / 0.7228 GB, free: 3.75 MB / 0.4982 GB (rm -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainDPIM_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainDPIM.fmu > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe 2>&1)